[INFO] updating cached repository jdxcode/npm-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jdxcode/npm-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jdxcode/npm-rs" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/jdxcode/npm-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jdxcode/npm-rs" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/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#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jdxcode/npm-rs on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-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-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/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-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/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" "+e305df1846a6d985315917ae0c81b74af8b4e641-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-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/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" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jdxcode/npm-rs against master#e305df1846a6d985315917ae0c81b74af8b4e641 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-5/master#e305df1846a6d985315917ae0c81b74af8b4e641:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/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" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 22be6352ecd52c76e98fec347e938daf28fad1b8243cd76b99bef40cc1f6415f [INFO] running `"docker" "start" "-a" "22be6352ecd52c76e98fec347e938daf28fad1b8243cd76b99bef40cc1f6415f"` [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] Checking xattr v0.2.2 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Checking cookie_store v0.5.1 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking sha-1 v0.7.0 [INFO] [stderr] Checking tar v0.4.23 [INFO] [stderr] Checking hyper v0.12.27 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.15 [INFO] [stderr] Checking xx v0.1.4 [INFO] [stderr] Checking 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: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: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: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: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: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[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: Could not compile `npm-rs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "22be6352ecd52c76e98fec347e938daf28fad1b8243cd76b99bef40cc1f6415f"` [INFO] running `"docker" "rm" "-f" "22be6352ecd52c76e98fec347e938daf28fad1b8243cd76b99bef40cc1f6415f"` [INFO] [stdout] 22be6352ecd52c76e98fec347e938daf28fad1b8243cd76b99bef40cc1f6415f