[INFO] cloning repository https://github.com/sensiblefolk/konko [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sensiblefolk/konko" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsensiblefolk%2Fkonko", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsensiblefolk%2Fkonko'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30a82a99cb947da6770549e0aa6de8daefbe7c61 [INFO] checking sensiblefolk/konko against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsensiblefolk%2Fkonko" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sensiblefolk/konko [INFO] finished tweaking git repo https://github.com/sensiblefolk/konko [INFO] tweaked toml for git repo https://github.com/sensiblefolk/konko written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sensiblefolk/konko on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sensiblefolk/konko 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v1.4.0 [INFO] [stderr] Downloaded env_logger v0.10.1 [INFO] [stderr] Downloaded scan_fmt v0.2.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ab4fd6c2e2ffaf1c3dcc92c58c3650e2229eb878a0f66f4f4bc8da3701994a [INFO] running `Command { std: "docker" "start" "-a" "46ab4fd6c2e2ffaf1c3dcc92c58c3650e2229eb878a0f66f4f4bc8da3701994a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ab4fd6c2e2ffaf1c3dcc92c58c3650e2229eb878a0f66f4f4bc8da3701994a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ab4fd6c2e2ffaf1c3dcc92c58c3650e2229eb878a0f66f4f4bc8da3701994a", kill_on_drop: false }` [INFO] [stdout] 46ab4fd6c2e2ffaf1c3dcc92c58c3650e2229eb878a0f66f4f4bc8da3701994a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb6784da741acd97ba65ba004d621208a26a53287377855b90dbee1cc8e4da3 [INFO] running `Command { std: "docker" "start" "-a" "edb6784da741acd97ba65ba004d621208a26a53287377855b90dbee1cc8e4da3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking konko v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | ContainerError(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - ContainerError(u8), [INFO] [stdout] 10 + ContainerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | SocketError(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - SocketError(u8), [INFO] [stdout] 11 + SocketError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | ChildProcessError(u8) [INFO] [stdout] | ----------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - ChildProcessError(u8) [INFO] [stdout] 12 + ChildProcessError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid`, `mount_dir`, and `fd` are never read [INFO] [stdout] --> src/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ContainerOpts { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub uid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub mount_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub fd: RawFd [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerOpts` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_boolean` is never used [INFO] [stdout] --> src/ipc.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn send_boolean(fd: RawFd, boolean: bool) -> Result<(), Errcode> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recv_boolean` is never used [INFO] [stdout] --> src/ipc.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn recv_boolean(fd: RawFd) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pid` should have a snake case name [INFO] [stdout] --> src/child.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(Pid) => Ok(Pid), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | ContainerError(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - ContainerError(u8), [INFO] [stdout] 10 + ContainerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | SocketError(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - SocketError(u8), [INFO] [stdout] 11 + SocketError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | ChildProcessError(u8) [INFO] [stdout] | ----------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - ChildProcessError(u8) [INFO] [stdout] 12 + ChildProcessError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid`, `mount_dir`, and `fd` are never read [INFO] [stdout] --> src/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ContainerOpts { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub uid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub mount_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub fd: RawFd [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerOpts` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_boolean` is never used [INFO] [stdout] --> src/ipc.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn send_boolean(fd: RawFd, boolean: bool) -> Result<(), Errcode> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recv_boolean` is never used [INFO] [stdout] --> src/ipc.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn recv_boolean(fd: RawFd) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pid` should have a snake case name [INFO] [stdout] --> src/child.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(Pid) => Ok(Pid), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.48s [INFO] running `Command { std: "docker" "inspect" "edb6784da741acd97ba65ba004d621208a26a53287377855b90dbee1cc8e4da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb6784da741acd97ba65ba004d621208a26a53287377855b90dbee1cc8e4da3", kill_on_drop: false }` [INFO] [stdout] edb6784da741acd97ba65ba004d621208a26a53287377855b90dbee1cc8e4da3