[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darksonn/inspect on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-0/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f34101d858a8086e4928f2ec2735e488b05d6541ec082dc226a929e94d08882f [INFO] running `Command { std: "docker" "start" "-a" "f34101d858a8086e4928f2ec2735e488b05d6541ec082dc226a929e94d08882f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f34101d858a8086e4928f2ec2735e488b05d6541ec082dc226a929e94d08882f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34101d858a8086e4928f2ec2735e488b05d6541ec082dc226a929e94d08882f", kill_on_drop: false }` [INFO] [stdout] f34101d858a8086e4928f2ec2735e488b05d6541ec082dc226a929e94d08882f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 584eb8e1b6366480f18ede0ab68ba19a1e0d7934ff62ceaf43547441e992fa87 [INFO] running `Command { std: "docker" "start" "-a" "584eb8e1b6366480f18ede0ab68ba19a1e0d7934ff62ceaf43547441e992fa87", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 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] 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 `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[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: 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 `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[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: 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: 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: `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: `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: 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] 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] 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[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] 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] 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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "584eb8e1b6366480f18ede0ab68ba19a1e0d7934ff62ceaf43547441e992fa87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584eb8e1b6366480f18ede0ab68ba19a1e0d7934ff62ceaf43547441e992fa87", kill_on_drop: false }` [INFO] [stdout] 584eb8e1b6366480f18ede0ab68ba19a1e0d7934ff62ceaf43547441e992fa87