[INFO] updating cached repository https://github.com/jdxcode/npm-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0d96210930165765bc069f5caf78aa31a76bd4cd [INFO] checking jdxcode/npm-rs against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdxcode%2Fnpm-rs" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdxcode/npm-rs on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jdxcode/npm-rs [INFO] removed path dependency xx from git repo https://github.com/jdxcode/npm-rs [INFO] finished tweaking git repo https://github.com/jdxcode/npm-rs [INFO] tweaked toml for git repo https://github.com/jdxcode/npm-rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/jdxcode/npm-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bcb1f01524e0d0633fc3209b9da9c76913bd2eae33c26a3b80401fc62fd402c [INFO] running `"docker" "start" "-a" "0bcb1f01524e0d0633fc3209b9da9c76913bd2eae33c26a3b80401fc62fd402c"` [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 rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking error-chain v0.12.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking tar v0.4.26 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking sha-1 v0.7.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking xx v0.1.4 [INFO] [stderr] Checking npm-rs v0.1.0 (/opt/rustwide/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: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: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: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[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: 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] warning: build failed, waiting for other jobs to finish... [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" "0bcb1f01524e0d0633fc3209b9da9c76913bd2eae33c26a3b80401fc62fd402c"` [INFO] running `"docker" "rm" "-f" "0bcb1f01524e0d0633fc3209b9da9c76913bd2eae33c26a3b80401fc62fd402c"` [INFO] [stdout] 0bcb1f01524e0d0633fc3209b9da9c76913bd2eae33c26a3b80401fc62fd402c