[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 try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattforni%2Ftouch" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mattforni/touch on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mattforni/touch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41b0e9952e5296506f537cad050ba9e2a20a60a9d1425a6f6ff2a99d077f31aa [INFO] running `Command { std: "docker" "start" "-a" "41b0e9952e5296506f537cad050ba9e2a20a60a9d1425a6f6ff2a99d077f31aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41b0e9952e5296506f537cad050ba9e2a20a60a9d1425a6f6ff2a99d077f31aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b0e9952e5296506f537cad050ba9e2a20a60a9d1425a6f6ff2a99d077f31aa", kill_on_drop: false }` [INFO] [stdout] 41b0e9952e5296506f537cad050ba9e2a20a60a9d1425a6f6ff2a99d077f31aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2545e5dae91b4226ce20c7d869415ddd4352e924d5a005e3fb97d696e223d86f [INFO] running `Command { std: "docker" "start" "-a" "2545e5dae91b4226ce20c7d869415ddd4352e924d5a005e3fb97d696e223d86f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking log v0.3.6 [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] 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] 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] 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] 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: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: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: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: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] 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] 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] 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] 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] error: panic message is not a string literal [INFO] [stdout] --> src/tst/file.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | assert!(file.is_ok(), file.err().unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 139 | assert!(file.is_ok(), "{}", file.err().unwrap().to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/tst/file.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | assert!(file.is_ok(), file.err().unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 174 | assert!(file.is_ok(), "{}", file.err().unwrap().to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `touch` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "2545e5dae91b4226ce20c7d869415ddd4352e924d5a005e3fb97d696e223d86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2545e5dae91b4226ce20c7d869415ddd4352e924d5a005e3fb97d696e223d86f", kill_on_drop: false }` [INFO] [stdout] 2545e5dae91b4226ce20c7d869415ddd4352e924d5a005e3fb97d696e223d86f