[INFO] updating cached repository https://github.com/Darksonn/inspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a20a360feae4d175054e7d1c7b186a6561388703 [INFO] checking Darksonn/inspect against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarksonn%2Finspect" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darksonn/inspect on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-11/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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aecb2830ddef1c3d120db04ca803103cee1d9f466efde355bf8206f0aa221f1 [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" "5aecb2830ddef1c3d120db04ca803103cee1d9f466efde355bf8206f0aa221f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aecb2830ddef1c3d120db04ca803103cee1d9f466efde355bf8206f0aa221f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aecb2830ddef1c3d120db04ca803103cee1d9f466efde355bf8206f0aa221f1", kill_on_drop: false }` [INFO] [stdout] 5aecb2830ddef1c3d120db04ca803103cee1d9f466efde355bf8206f0aa221f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f8c75d334989644f0c4140ca583874ad9254a2d5de7217f24df66dc4f14bd8 [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" "a7f8c75d334989644f0c4140ca583874ad9254a2d5de7217f24df66dc4f14bd8", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking strsim v0.8.0 [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[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: `#[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 `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] | ^^^ 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 `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] warning[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] | ^^^ 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] 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: 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] 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 `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: `#[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 `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] | ^^^ 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 `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] warning[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] | ^^^ 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] 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" "a7f8c75d334989644f0c4140ca583874ad9254a2d5de7217f24df66dc4f14bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f8c75d334989644f0c4140ca583874ad9254a2d5de7217f24df66dc4f14bd8", kill_on_drop: false }` [INFO] [stdout] a7f8c75d334989644f0c4140ca583874ad9254a2d5de7217f24df66dc4f14bd8