[INFO] cloning repository https://github.com/mattforni/touch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattforni/touch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattforni%2Ftouch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattforni%2Ftouch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1c41176da5755eb366ecd05ae33fc8c3c93f655 [INFO] checking mattforni/touch against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattforni%2Ftouch" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattforni/touch on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/mattforni/touch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f7b33768820793d4e6ece1c4876d4f7ff22e0fa2ad31ce01df262219b78b22 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3f7b33768820793d4e6ece1c4876d4f7ff22e0fa2ad31ce01df262219b78b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f7b33768820793d4e6ece1c4876d4f7ff22e0fa2ad31ce01df262219b78b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f7b33768820793d4e6ece1c4876d4f7ff22e0fa2ad31ce01df262219b78b22", kill_on_drop: false }` [INFO] [stdout] e3f7b33768820793d4e6ece1c4876d4f7ff22e0fa2ad31ce01df262219b78b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d81ba56d1c4e788590abe72cbbf524f2527dcb0e21306c38d11697336e844a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "15d81ba56d1c4e788590abe72cbbf524f2527dcb0e21306c38d11697336e844a", kill_on_drop: false }` [INFO] [stderr] Checking touch v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let directory = try!(Path::new(path).parent().ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(dir::create(directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let file = try!(File::create(path).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let mut file = try!(File::open(path).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | try!(file.read_to_string(&mut content).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let mut file = try!(create(path, truncate)).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | try!(file.write_all(content.as_bytes()).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let directory = try!(Path::new(path).parent().ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(dir::create(directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let file = try!(File::create(path).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let mut file = try!(File::open(path).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | try!(file.read_to_string(&mut content).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let mut file = try!(create(path, truncate)).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | try!(file.write_all(content.as_bytes()).map_err(|error| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `touch` [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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "15d81ba56d1c4e788590abe72cbbf524f2527dcb0e21306c38d11697336e844a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d81ba56d1c4e788590abe72cbbf524f2527dcb0e21306c38d11697336e844a", kill_on_drop: false }` [INFO] [stdout] 15d81ba56d1c4e788590abe72cbbf524f2527dcb0e21306c38d11697336e844a