[INFO] updating cached repository https://github.com/mattforni/touch [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] e1c41176da5755eb366ecd05ae33fc8c3c93f655 [INFO] checking mattforni/touch against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattforni%2Ftouch" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattforni/touch 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/mattforni/touch [INFO] finished tweaking git repo https://github.com/mattforni/touch [INFO] tweaked toml for git repo https://github.com/mattforni/touch written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mattforni/touch 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] error: the lock file /workspace/builds/worker-3/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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] cdb6e48277fbe2b1ede378ae65c80a7c33ac9f4a7669bbfcdf1c318ffc43e259 [INFO] running `"docker" "start" "-a" "cdb6e48277fbe2b1ede378ae65c80a7c33ac9f4a7669bbfcdf1c318ffc43e259"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking touch v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | let directory = try!(Path::new(path).parent().ok_or( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | try!(dir::create(directory)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | let file = try!(File::create(path).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | let mut file = try!(File::open(path).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | try!(file.read_to_string(&mut content).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:84:20 [INFO] [stderr] | [INFO] [stderr] 84 | let mut file = try!(create(path, truncate)).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | try!(file.write_all(content.as_bytes()).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | let directory = try!(Path::new(path).parent().ok_or( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | try!(dir::create(directory)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | let file = try!(File::create(path).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | let mut file = try!(File::open(path).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | try!(file.read_to_string(&mut content).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:84:20 [INFO] [stderr] | [INFO] [stderr] 84 | let mut file = try!(create(path, truncate)).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/file.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | try!(file.write_all(content.as_bytes()).map_err(|error| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `touch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cdb6e48277fbe2b1ede378ae65c80a7c33ac9f4a7669bbfcdf1c318ffc43e259"` [INFO] running `"docker" "rm" "-f" "cdb6e48277fbe2b1ede378ae65c80a7c33ac9f4a7669bbfcdf1c318ffc43e259"` [INFO] [stdout] cdb6e48277fbe2b1ede378ae65c80a7c33ac9f4a7669bbfcdf1c318ffc43e259