[INFO] cloning repository https://github.com/Darksonn/inspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Darksonn/inspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a20a360feae4d175054e7d1c7b186a6561388703 [INFO] checking Darksonn/inspect/a20a360feae4d175054e7d1c7b186a6561388703 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darksonn/inspect on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Darksonn/inspect [INFO] finished tweaking git repo https://github.com/Darksonn/inspect [INFO] tweaked toml for git repo https://github.com/Darksonn/inspect written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Darksonn/inspect 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee48c69ed1df8c7f134aaf167bb4715f0ef1f5d0150b6e50933cfd8ce538ce73 [INFO] running `Command { std: "docker" "start" "-a" "ee48c69ed1df8c7f134aaf167bb4715f0ef1f5d0150b6e50933cfd8ce538ce73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee48c69ed1df8c7f134aaf167bb4715f0ef1f5d0150b6e50933cfd8ce538ce73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee48c69ed1df8c7f134aaf167bb4715f0ef1f5d0150b6e50933cfd8ce538ce73", kill_on_drop: false }` [INFO] [stdout] ee48c69ed1df8c7f134aaf167bb4715f0ef1f5d0150b6e50933cfd8ce538ce73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86fd931f1baa7ac4f19b571cc14b1e2a8aff775965621d4319b1513556a7fac5 [INFO] running `Command { std: "docker" "start" "-a" "86fd931f1baa7ac4f19b571cc14b1e2a8aff775965621d4319b1513556a7fac5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking inspect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/base64.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/base64.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F32` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | F32 => 4, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F64` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | F64 => 8, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F32` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | F32 => 4, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F64` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | F64 => 8, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/float.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | F32 => 4, [INFO] [stdout] | --- matches any value [INFO] [stdout] 11 | F64 => 8, [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F32` [INFO] [stdout] --> src/float.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | F32 => 4, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F64` [INFO] [stdout] --> src/float.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | F64 => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F32` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | F32 => { [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F64` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | F64 => f64::from_bits(u64::from_be_bytes(bytes)), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 16 | F32 => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 20 | F64 => f64::from_bits(u64::from_be_bytes(bytes)), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F32` [INFO] [stdout] --> src/float.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | F32 => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F64` [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | F64 => f64::from_bits(u64::from_be_bytes(bytes)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/float.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | F32 => 4, [INFO] [stdout] | --- matches any value [INFO] [stdout] 11 | F64 => 8, [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F32` [INFO] [stdout] --> src/float.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | F32 => 4, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F64` [INFO] [stdout] --> src/float.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | F64 => 8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F32` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | F32 => { [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `F64` is named the same as one of the variants of the type `float::Kind` [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | F64 => f64::from_bits(u64::from_be_bytes(bytes)), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `float::Kind::F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 16 | F32 => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 20 | F64 => f64::from_bits(u64::from_be_bytes(bytes)), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F32` [INFO] [stdout] --> src/float.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | F32 => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F64` [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | F64 => f64::from_bits(u64::from_be_bytes(bytes)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_F64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `output` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/float.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | if let Err(e) = output.write_all(buffer.as_bytes()) { [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 31 | pub fn format_float(kind: Kind, mut data: Box, mut output: StdoutLock) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `output` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/float.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | if let Err(e) = output.write_all(buffer.as_bytes()) { [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 31 | pub fn format_float(kind: Kind, mut data: Box, mut output: StdoutLock) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inspect` (bin "inspect" test) due to 6 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `inspect` (bin "inspect") due to 6 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86fd931f1baa7ac4f19b571cc14b1e2a8aff775965621d4319b1513556a7fac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fd931f1baa7ac4f19b571cc14b1e2a8aff775965621d4319b1513556a7fac5", kill_on_drop: false }` [INFO] [stdout] 86fd931f1baa7ac4f19b571cc14b1e2a8aff775965621d4319b1513556a7fac5