[INFO] fetching crate slink 0.2.2... [INFO] checking slink-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate slink 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate slink 0.2.2 [INFO] finished tweaking crates.io crate slink 0.2.2 [INFO] tweaked toml for crates.io crate slink 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slink 0.2.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding isatty v0.1.9 (available: v0.2.0) [INFO] [stderr] Adding pathdiff v0.1.0 (available: v0.2.3) [INFO] [stderr] Adding serde_yaml v0.7.5 (available: v0.9.34+deprecated) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] [stderr] Adding xdg v2.5.2 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9afcc3fd502255d3fe1770c53b7f712f3d2a18e4c4380970f1510f79c81dd494 [INFO] running `Command { std: "docker" "start" "-a" "9afcc3fd502255d3fe1770c53b7f712f3d2a18e4c4380970f1510f79c81dd494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9afcc3fd502255d3fe1770c53b7f712f3d2a18e4c4380970f1510f79c81dd494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9afcc3fd502255d3fe1770c53b7f712f3d2a18e4c4380970f1510f79c81dd494", kill_on_drop: false }` [INFO] [stdout] 9afcc3fd502255d3fe1770c53b7f712f3d2a18e4c4380970f1510f79c81dd494 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b15e436169ea11cbb907e6481cd18c0be5377a25fa778ae89520309f6c00d1fb [INFO] running `Command { std: "docker" "start" "-a" "b15e436169ea11cbb907e6481cd18c0be5377a25fa778ae89520309f6c00d1fb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking pathdiff v0.1.0 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking slink v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let host = try!(get_host()); [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/conn.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | try!(process::run(command, |cmd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let host = try!(get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let host = try!(get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | let host = try!(get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | try!(process::run("scp", |cmd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut child = try!(command.spawn().map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let exit_status = try!(child.wait().map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rsync.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let host = try!(config::get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rsync.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let host = try!(config::get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rsync.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | try!(process::run("rsync", |cmd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(file.write(format!("{}\n", host).as_bytes()).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let mut file = try!(File::create(host_path).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(file.read_to_string(&mut host).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let path = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file = try!(File::open(path).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", try!(config::get_host())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let host = try!(get_host()); [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/conn.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | try!(process::run(command, |cmd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let host = try!(get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let host = try!(get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | let host = try!(get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | try!(process::run("scp", |cmd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut child = try!(command.spawn().map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let exit_status = try!(child.wait().map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rsync.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let host = try!(config::get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rsync.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let host = try!(config::get_host()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rsync.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | try!(process::run("rsync", |cmd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(file.write(format!("{}\n", host).as_bytes()).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let mut file = try!(File::create(host_path).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(file.read_to_string(&mut host).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let path = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file = try!(File::open(path).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", try!(config::get_host())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slink` (bin "slink" test) due to 1 previous error; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `slink` (bin "slink") due to 1 previous error; 17 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b15e436169ea11cbb907e6481cd18c0be5377a25fa778ae89520309f6c00d1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15e436169ea11cbb907e6481cd18c0be5377a25fa778ae89520309f6c00d1fb", kill_on_drop: false }` [INFO] [stdout] b15e436169ea11cbb907e6481cd18c0be5377a25fa778ae89520309f6c00d1fb