[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 master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdxcode%2Fnpm-rs" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jdxcode/npm-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-1/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 5a55156fd8e3ace17f51045036f2589eb268ddc151bea0640a24c985d2a1d4da
[INFO] running `"docker" "start" "-a" "5a55156fd8e3ace17f51045036f2589eb268ddc151bea0640a24c985d2a1d4da"`
[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 regex-syntax v0.6.17
[INFO] [stderr]     Checking digest v0.7.6
[INFO] [stderr]     Checking filetime v0.2.9
[INFO] [stderr]     Checking xattr v0.2.2
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking sha2 v0.7.1
[INFO] [stderr]     Checking sha-1 v0.7.0
[INFO] [stderr]     Checking tar v0.4.26
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking regex v1.3.6
[INFO] [stderr]     Checking publicsuffix v1.5.4
[INFO] [stderr]     Checking hyper v0.12.35
[INFO] [stderr]     Checking cookie_store v0.7.0
[INFO] [stderr]     Checking hyper-tls v0.3.2
[INFO] [stderr]     Checking reqwest v0.9.24
[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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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 reference `&str`
[INFO] [stderr]                found reference `&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] [stderr] warning: build failed, waiting for other jobs to finish...
[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" "5a55156fd8e3ace17f51045036f2589eb268ddc151bea0640a24c985d2a1d4da"`
[INFO] running `"docker" "rm" "-f" "5a55156fd8e3ace17f51045036f2589eb268ddc151bea0640a24c985d2a1d4da"`
[INFO] [stdout] 5a55156fd8e3ace17f51045036f2589eb268ddc151bea0640a24c985d2a1d4da
