[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 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darksonn/inspect on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b034b59d86081226fee0181ee4f5699fda46618eeb60ca95bfbf381d693e81b2 [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" "b034b59d86081226fee0181ee4f5699fda46618eeb60ca95bfbf381d693e81b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b034b59d86081226fee0181ee4f5699fda46618eeb60ca95bfbf381d693e81b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b034b59d86081226fee0181ee4f5699fda46618eeb60ca95bfbf381d693e81b2", kill_on_drop: false }` [INFO] [stdout] b034b59d86081226fee0181ee4f5699fda46618eeb60ca95bfbf381d693e81b2 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c36870235499bb4f5f3a0a92a3e6f0a1e94f52454da5801bdd63ec1fca365fab [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" "c36870235499bb4f5f3a0a92a3e6f0a1e94f52454da5801bdd63ec1fca365fab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking strsim v0.8.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] warning[E0170]: pattern binding `F32` is named the same as one of the variants of the type `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: `Kind::F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F64` is named the same as one of the variants of the type `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: `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] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F32` is named the same as one of the variants of the type `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: `Kind::F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F64` is named the same as one of the variants of the type `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: `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] | ^^^ unreachable pattern [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] 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[E0597]: `stdin` does not live long enough [INFO] [stdout] --> src/main.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | build_input(stdin.lock(), &matches) [INFO] [stdout] | ------------^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | cast requires that `stdin` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 94 | } [INFO] [stdout] | - `stdin` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F32` is named the same as one of the variants of the type `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: `Kind::F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F64` is named the same as one of the variants of the type `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: `Kind::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] 31 | pub fn format_float(kind: Kind, mut data: Box, output: StdoutLock) -> Result<()> { [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut output` [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] [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] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F32` is named the same as one of the variants of the type `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: `Kind::F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F64` is named the same as one of the variants of the type `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: `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] | ^^^ unreachable pattern [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] 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] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [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[E0597]: `stdin` does not live long enough [INFO] [stdout] --> src/main.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | build_input(stdin.lock(), &matches) [INFO] [stdout] | ------------^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | cast requires that `stdin` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 94 | } [INFO] [stdout] | - `stdin` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inspect` [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] 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] 31 | pub fn format_float(kind: Kind, mut data: Box, output: StdoutLock) -> Result<()> { [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut output` [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] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c36870235499bb4f5f3a0a92a3e6f0a1e94f52454da5801bdd63ec1fca365fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36870235499bb4f5f3a0a92a3e6f0a1e94f52454da5801bdd63ec1fca365fab", kill_on_drop: false }` [INFO] [stdout] c36870235499bb4f5f3a0a92a3e6f0a1e94f52454da5801bdd63ec1fca365fab