[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] testing Darksonn/inspect against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darksonn/inspect on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-21/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33b63e16b64fad4f2f8dee132405359dac220dccb4657fc276022f38d6a19deb [INFO] running `Command { std: "docker" "start" "-a" "33b63e16b64fad4f2f8dee132405359dac220dccb4657fc276022f38d6a19deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33b63e16b64fad4f2f8dee132405359dac220dccb4657fc276022f38d6a19deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b63e16b64fad4f2f8dee132405359dac220dccb4657fc276022f38d6a19deb", kill_on_drop: false }` [INFO] [stdout] 33b63e16b64fad4f2f8dee132405359dac220dccb4657fc276022f38d6a19deb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b5a9d3c9b75f7205f183f1aea4de4437cf00b359aa156a69584d62d314944bc [INFO] running `Command { std: "docker" "start" "-a" "7b5a9d3c9b75f7205f183f1aea4de4437cf00b359aa156a69584d62d314944bc", 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] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling 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[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[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[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: 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: could not compile `inspect` due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7b5a9d3c9b75f7205f183f1aea4de4437cf00b359aa156a69584d62d314944bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5a9d3c9b75f7205f183f1aea4de4437cf00b359aa156a69584d62d314944bc", kill_on_drop: false }` [INFO] [stdout] 7b5a9d3c9b75f7205f183f1aea4de4437cf00b359aa156a69584d62d314944bc