Skip to content

Unable to specify git dependency to this repository #492

Closed
@david-perez

Description

@david-perez

In a project's Cargo.toml, if I try to specify a git dependency on this repository:

[dependencies]
lambda_http = { git = "https://github.com/awslabs/aws-lambda-rust-runtime" }
lambda_runtime = { git = "https://github.com/awslabs/aws-lambda-rust-runtime" }
...

And try to build the project, I get:

    Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime`
error: failed to get `lambda_http` as a dependency of package `lambda v0.1.0 (/home/ANT.AMAZON.COM/davidpz/code/lambda-hugobast/rust)`

Caused by:
  failed to load source for dependency `lambda_http`

Caused by:
  Unable to update https://github.com/awslabs/aws-lambda-rust-runtime

Caused by:
  failed to update submodule `examples/extension-logs-kinesis-firehose`

Caused by:
  no URL configured for submodule 'examples/extension-logs-kinesis-firehose'; class=Submodule (17)

I think there's something wrong with how the repo is set up.

GitHub's UI seems to indicate that the directory examples/extension-logs-kinesis-firehose is a Git submodule or a symlink:

image

Yet when I clone the repo locally, even with --recurse-submodules, it's just a regular empty directory. I also didn't find any submodules nor strange things under .git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions