[INFO] fetching crate hc 0.1.2... [INFO] checking hc-0.1.2 against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] extracting crate hc 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate hc 0.1.2 on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hc 0.1.2 [INFO] finished tweaking crates.io crate hc 0.1.2 [INFO] tweaked toml for crates.io crate hc 0.1.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f18883b65512d074c55bdb160e77a6d713a52d7897692a8c365ae31d6de2c9ed [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" "f18883b65512d074c55bdb160e77a6d713a52d7897692a8c365ae31d6de2c9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f18883b65512d074c55bdb160e77a6d713a52d7897692a8c365ae31d6de2c9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18883b65512d074c55bdb160e77a6d713a52d7897692a8c365ae31d6de2c9ed", kill_on_drop: false }` [INFO] [stdout] f18883b65512d074c55bdb160e77a6d713a52d7897692a8c365ae31d6de2c9ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c9cddb5d8e65db41310539b4b55bfee93c118a04ccb543b447f3602e37ab4b9 [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" "7c9cddb5d8e65db41310539b4b55bfee93c118a04ccb543b447f3602e37ab4b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking hc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let lhs = try!(execute(ctx, &*l)); [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/executor.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let lhs = try!(execute(ctx, &*l)); [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/executor.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let lhs = try!(execute(ctx, &*l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/executor.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let rhs = try!(execute(ctx, &*r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 40 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 40 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 40 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 40 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "7c9cddb5d8e65db41310539b4b55bfee93c118a04ccb543b447f3602e37ab4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9cddb5d8e65db41310539b4b55bfee93c118a04ccb543b447f3602e37ab4b9", kill_on_drop: false }` [INFO] [stdout] 7c9cddb5d8e65db41310539b4b55bfee93c118a04ccb543b447f3602e37ab4b9