[INFO] cloning repository jdxcode/npm-rs [INFO] running `"git" "clone" "--bare" "git://github.com/jdxcode/npm-rs.git" "work/cache/sources/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/jdxcode/npm-rs'... [INFO] running `"git" "clone" "work/cache/sources/gh/jdxcode/npm-rs" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jdxcode/npm-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jdxcode/npm-rs" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/jdxcode/npm-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0d96210930165765bc069f5caf78aa31a76bd4cd [INFO] sha for GitHub repo jdxcode/npm-rs: 0d96210930165765bc069f5caf78aa31a76bd4cd [INFO] validating manifest of jdxcode/npm-rs on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jdxcode/npm-rs on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jdxcode/npm-rs [INFO] removed path dependency xx from jdxcode/npm-rs [INFO] finished frobbing jdxcode/npm-rs [INFO] frobbed toml for jdxcode/npm-rs written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jdxcode/npm-rs/Cargo.toml [INFO] started frobbing jdxcode/npm-rs [INFO] removed path dependency xx from jdxcode/npm-rs [INFO] finished frobbing jdxcode/npm-rs [INFO] frobbed toml for jdxcode/npm-rs written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/jdxcode/npm-rs/Cargo.toml [INFO] crate jdxcode/npm-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jdxcode/npm-rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xx v0.1.4 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jdxcode/npm-rs against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-3/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jdxcode/npm-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 30248bc5470d821061557ea8c04f3d715cba5339171ff28dc0c6e1501a78f263 [INFO] running `"docker" "start" "-a" "30248bc5470d821061557ea8c04f3d715cba5339171ff28dc0c6e1501a78f263"` [INFO] [stderr] warning: dependency (xx) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling reqwest v0.9.18 [INFO] [stderr] Compiling xx v0.1.4 [INFO] [stderr] Compiling npm-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/package_lock.rs:100:55 [INFO] [stderr] | [INFO] [stderr] 100 | xx::http::download(&dep.resolved, &file).unwrap(); [INFO] [stderr] | ^^^^^ expected str, found struct `std::path::PathBuf` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::path::PathBuf` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/package_lock.rs:105:51 [INFO] [stderr] | [INFO] [stderr] 105 | xx::http::download(&dep.resolved, &file).unwrap(); [INFO] [stderr] | ^^^^^ expected str, found struct `std::path::PathBuf` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::path::PathBuf` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/package_lock.rs:119:35 [INFO] [stderr] | [INFO] [stderr] 119 | "sha1" => hash::file_sha1(path), [INFO] [stderr] | ^^^^ expected str, found struct `std::path::Path` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::path::Path` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/package_lock.rs:120:39 [INFO] [stderr] | [INFO] [stderr] 120 | "sha256" => hash::file_sha256(path), [INFO] [stderr] | ^^^^ expected str, found struct `std::path::Path` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::path::Path` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/package_lock.rs:121:39 [INFO] [stderr] | [INFO] [stderr] 121 | "sha512" => hash::file_sha512(path), [INFO] [stderr] | ^^^^ expected str, found struct `std::path::Path` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::path::Path` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `npm-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "30248bc5470d821061557ea8c04f3d715cba5339171ff28dc0c6e1501a78f263"` [INFO] running `"docker" "rm" "-f" "30248bc5470d821061557ea8c04f3d715cba5339171ff28dc0c6e1501a78f263"` [INFO] [stdout] 30248bc5470d821061557ea8c04f3d715cba5339171ff28dc0c6e1501a78f263