[INFO] cloning repository https://github.com/roblabla/Mephisto-IPCBridgeToy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roblabla/Mephisto-IPCBridgeToy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2FMephisto-IPCBridgeToy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2FMephisto-IPCBridgeToy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6de5c96b78af36b0ea9a76b4cd6ef5abf1150719 [INFO] testing roblabla/Mephisto-IPCBridgeToy/6de5c96b78af36b0ea9a76b4cd6ef5abf1150719 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2FMephisto-IPCBridgeToy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/roblabla/Mephisto-IPCBridgeToy [INFO] finished tweaking git repo https://github.com/roblabla/Mephisto-IPCBridgeToy [INFO] tweaked toml for git repo https://github.com/roblabla/Mephisto-IPCBridgeToy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roblabla/Mephisto-IPCBridgeToy on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roblabla/Mephisto-IPCBridgeToy 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a341ea7293326ff1c33bb920e980f39986d9958326b3c3d1e4f852a89d04efd5 [INFO] running `Command { std: "docker" "start" "-a" "a341ea7293326ff1c33bb920e980f39986d9958326b3c3d1e4f852a89d04efd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a341ea7293326ff1c33bb920e980f39986d9958326b3c3d1e4f852a89d04efd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a341ea7293326ff1c33bb920e980f39986d9958326b3c3d1e4f852a89d04efd5", kill_on_drop: false }` [INFO] [stdout] a341ea7293326ff1c33bb920e980f39986d9958326b3c3d1e4f852a89d04efd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 312d87181dbfecded3a51593ac1e1cd5a5e4a4e91697a1096699a47455c3ce66 [INFO] running `Command { std: "docker" "start" "-a" "312d87181dbfecded3a51593ac1e1cd5a5e4a4e91697a1096699a47455c3ce66", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling IPCBridgeToy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn write_str(io: &mut Write, s: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | fn write_str(io: &mut dyn Write, s: &str) -> std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, io: &mut Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, io: &mut dyn Write) -> std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | fn read(io: &mut Read) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | fn read(io: &mut dyn Read) -> std::io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aBufs`, `bBufs`, `cBufs`, and `xBufs` are never read [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 14 | struct OutgoingIPCMessage { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub aBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub bBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub cBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub xBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutgoingIPCMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | struct IncomingBridgeMessage { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 72 | pub res: u64, [INFO] [stdout] 73 | pub ty: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 74 | pub data: Vec, [INFO] [stdout] 75 | pub copiedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub movedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | pub aBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | pub bBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | pub cBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | pub xBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncomingBridgeMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `copiedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub copiedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `movedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub movedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `aBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub aBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub bBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub cBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `xBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub xBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `copiedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub copiedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `movedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub movedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `aBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub aBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub bBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub cBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `xBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub xBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `copiedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut copiedHandles = vec![0; size]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `movedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let mut movedHandles = vec![0; size]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut aBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut bBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let mut cBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let mut xBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "312d87181dbfecded3a51593ac1e1cd5a5e4a4e91697a1096699a47455c3ce66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "312d87181dbfecded3a51593ac1e1cd5a5e4a4e91697a1096699a47455c3ce66", kill_on_drop: false }` [INFO] [stdout] 312d87181dbfecded3a51593ac1e1cd5a5e4a4e91697a1096699a47455c3ce66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77e88386acee358b475b255c81cbd5d593686719ef388426b188878e1bb8848b [INFO] running `Command { std: "docker" "start" "-a" "77e88386acee358b475b255c81cbd5d593686719ef388426b188878e1bb8848b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling IPCBridgeToy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn write_str(io: &mut Write, s: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | fn write_str(io: &mut dyn Write, s: &str) -> std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, io: &mut Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, io: &mut dyn Write) -> std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | fn read(io: &mut Read) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | fn read(io: &mut dyn Read) -> std::io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aBufs`, `bBufs`, `cBufs`, and `xBufs` are never read [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 14 | struct OutgoingIPCMessage { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub aBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub bBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub cBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub xBufs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutgoingIPCMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | struct IncomingBridgeMessage { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 72 | pub res: u64, [INFO] [stdout] 73 | pub ty: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 74 | pub data: Vec, [INFO] [stdout] 75 | pub copiedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub movedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | pub aBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | pub bBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | pub cBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | pub xBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncomingBridgeMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `copiedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub copiedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `movedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub movedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `aBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub aBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub bBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub cBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `xBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub xBufs: Vec>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `copiedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub copiedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `movedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub movedHandles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `aBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub aBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub bBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub cBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `xBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub xBufs: Vec<(Vec, u64)>, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `copiedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut copiedHandles = vec![0; size]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `movedHandles` should have a snake case name [INFO] [stdout] --> src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let mut movedHandles = vec![0; size]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut aBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut bBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let mut cBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xBufs` should have a snake case name [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let mut xBufs = vec![(vec![], 0); size]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "77e88386acee358b475b255c81cbd5d593686719ef388426b188878e1bb8848b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e88386acee358b475b255c81cbd5d593686719ef388426b188878e1bb8848b", kill_on_drop: false }` [INFO] [stdout] 77e88386acee358b475b255c81cbd5d593686719ef388426b188878e1bb8848b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fddf4f1b2b6e1d490c95fbfaa0f8bb9ba7596742548d50eb2b5ae5e9e2dcb465 [INFO] running `Command { std: "docker" "start" "-a" "fddf4f1b2b6e1d490c95fbfaa0f8bb9ba7596742548d50eb2b5ae5e9e2dcb465", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | fn write_str(io: &mut Write, s: &str) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 | fn write_str(io: &mut dyn Write, s: &str) -> std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:41:30 [INFO] [stderr] | [INFO] [stderr] 41 | fn write(&self, io: &mut Write) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 | fn write(&self, io: &mut dyn Write) -> std::io::Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:84:22 [INFO] [stderr] | [INFO] [stderr] 84 | fn read(io: &mut Read) -> std::io::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 | fn read(io: &mut dyn Read) -> std::io::Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: fields `aBufs`, `bBufs`, `cBufs`, and `xBufs` are never read [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 14 | struct OutgoingIPCMessage { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | pub aBufs: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 21 | pub bBufs: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | pub cBufs: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 23 | pub xBufs: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OutgoingIPCMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/main.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 71 | struct IncomingBridgeMessage { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] 72 | pub res: u64, [INFO] [stderr] 73 | pub ty: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 74 | pub data: Vec, [INFO] [stderr] 75 | pub copiedHandles: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 76 | pub movedHandles: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 77 | pub aBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 78 | pub bBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 79 | pub cBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 80 | pub xBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IncomingBridgeMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: structure field `copiedHandles` should have a snake case name [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub copiedHandles: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `movedHandles` should have a snake case name [INFO] [stderr] --> src/main.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub movedHandles: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stderr] [INFO] [stderr] warning: structure field `aBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub aBufs: Vec>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `bBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub bBufs: Vec>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `cBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub cBufs: Vec>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `xBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub xBufs: Vec>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `copiedHandles` should have a snake case name [INFO] [stderr] --> src/main.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | pub copiedHandles: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stderr] [INFO] [stderr] warning: structure field `movedHandles` should have a snake case name [INFO] [stderr] --> src/main.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | pub movedHandles: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stderr] [INFO] [stderr] warning: structure field `aBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | pub aBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `bBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | pub bBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `cBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | pub cBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stderr] [INFO] [stderr] warning: structure field `xBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | pub xBufs: Vec<(Vec, u64)>, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stderr] [INFO] [stderr] warning: variable `copiedHandles` should have a snake case name [INFO] [stderr] --> src/main.rs:94:21 [INFO] [stderr] | [INFO] [stderr] 94 | let mut copiedHandles = vec![0; size]; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `copied_handles` [INFO] [stderr] [INFO] [stderr] warning: variable `movedHandles` should have a snake case name [INFO] [stderr] --> src/main.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | let mut movedHandles = vec![0; size]; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_handles` [INFO] [stderr] [INFO] [stderr] warning: variable `aBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | let mut aBufs = vec![(vec![], 0); size]; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `a_bufs` [INFO] [stderr] [INFO] [stderr] warning: variable `bBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | let mut bBufs = vec![(vec![], 0); size]; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `b_bufs` [INFO] [stderr] [INFO] [stderr] warning: variable `cBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | let mut cBufs = vec![(vec![], 0); size]; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `c_bufs` [INFO] [stderr] [INFO] [stderr] warning: variable `xBufs` should have a snake case name [INFO] [stderr] --> src/main.rs:136:21 [INFO] [stderr] | [INFO] [stderr] 136 | let mut xBufs = vec![(vec![], 0); size]; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `x_bufs` [INFO] [stderr] [INFO] [stderr] warning: `IPCBridgeToy` (bin "IPCBridgeToy" test) generated 23 warnings (run `cargo fix --bin "IPCBridgeToy" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/IPCBridgeToy-cd2700598d7af4ef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fddf4f1b2b6e1d490c95fbfaa0f8bb9ba7596742548d50eb2b5ae5e9e2dcb465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fddf4f1b2b6e1d490c95fbfaa0f8bb9ba7596742548d50eb2b5ae5e9e2dcb465", kill_on_drop: false }` [INFO] [stdout] fddf4f1b2b6e1d490c95fbfaa0f8bb9ba7596742548d50eb2b5ae5e9e2dcb465