[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.37-6/sources/1.36.0/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/jdxcode/npm-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jdxcode/npm-rs" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/jdxcode/npm-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jdxcode/npm-rs on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jdxcode/npm-rs against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "build" "--frozen"` [INFO] [stdout] f22ce2a5a78c36ec31a6ee8da3d9633b9e49413558e80fd87f391c31437654aa [INFO] running `"docker" "start" "-a" "f22ce2a5a78c36ec31a6ee8da3d9633b9e49413558e80fd87f391c31437654aa"` [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.9 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling hyper-tls v0.3.2 [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" "f22ce2a5a78c36ec31a6ee8da3d9633b9e49413558e80fd87f391c31437654aa"` [INFO] running `"docker" "rm" "-f" "f22ce2a5a78c36ec31a6ee8da3d9633b9e49413558e80fd87f391c31437654aa"` [INFO] [stdout] f22ce2a5a78c36ec31a6ee8da3d9633b9e49413558e80fd87f391c31437654aa