[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/beta-1.38-1/sources/1.37.0/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/jdxcode/npm-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jdxcode/npm-rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jdxcode/npm-rs on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jdxcode/npm-rs against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 6d56099296c677e9b95d118c7d65d9df16ba71c3b36c3de7245c75cd436b2067 [INFO] running `"docker" "start" "-a" "6d56099296c677e9b95d118c7d65d9df16ba71c3b36c3de7245c75cd436b2067"` [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 openssl v0.10.24 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling filetime v0.2.7 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.19 [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" "6d56099296c677e9b95d118c7d65d9df16ba71c3b36c3de7245c75cd436b2067"` [INFO] running `"docker" "rm" "-f" "6d56099296c677e9b95d118c7d65d9df16ba71c3b36c3de7245c75cd436b2067"` [INFO] [stdout] 6d56099296c677e9b95d118c7d65d9df16ba71c3b36c3de7245c75cd436b2067