[INFO] cloning repository https://github.com/matklad/arbring [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matklad/arbring" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Farbring", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Farbring'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09098849eb5bb1524bb866c248262a867db401ad [INFO] checking matklad/arbring against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Farbring" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matklad/arbring on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matklad/arbring [INFO] finished tweaking git repo https://github.com/matklad/arbring [INFO] tweaked toml for git repo https://github.com/matklad/arbring written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matklad/arbring 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `http://github.com/rust-fuzz/arbitrary` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arbtest v0.3.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9736fb9d92f69aefc2f56945ee32cd666a75702cc7dae45d4a44bcb74b32fb74 [INFO] running `Command { std: "docker" "start" "-a" "9736fb9d92f69aefc2f56945ee32cd666a75702cc7dae45d4a44bcb74b32fb74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9736fb9d92f69aefc2f56945ee32cd666a75702cc7dae45d4a44bcb74b32fb74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9736fb9d92f69aefc2f56945ee32cd666a75702cc7dae45d4a44bcb74b32fb74", kill_on_drop: false }` [INFO] [stdout] 9736fb9d92f69aefc2f56945ee32cd666a75702cc7dae45d4a44bcb74b32fb74 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d7af10254b5c5da20399a502a7ba1e37e4b853e416dd91cd56627ad30d1e081 [INFO] running `Command { std: "docker" "start" "-a" "3d7af10254b5c5da20399a502a7ba1e37e4b853e416dd91cd56627ad30d1e081", kill_on_drop: false }` [INFO] [stderr] Checking arbitrary v1.3.2 (http://github.com/rust-fuzz/arbitrary#74122c8e) [INFO] [stderr] Checking arbtest v0.3.1 [INFO] [stderr] Checking arbring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bank.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bank.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bank.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | if (balance_total != balance_total_initial) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - if (balance_total != balance_total_initial) { [INFO] [stdout] 101 + if balance_total != balance_total_initial { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queue` is never constructed [INFO] [stdout] --> src/lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `len` are never used [INFO] [stdout] --> src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Queue { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(size: usize) -> Queue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn push(&mut self, n: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn pop(&mut self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BadCounter` is never constructed [INFO] [stdout] --> src/badcounter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct BadCounter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadCounter` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment` and `get` are never used [INFO] [stdout] --> src/badcounter.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl BadCounter { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 17 | fn increment(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn get(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/badcounter.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shared` is never constructed [INFO] [stdout] --> src/badcounter.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get` and `block` are never used [INFO] [stdout] --> src/badcounter.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl Shared { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 75 | fn get() -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn block(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AtomicU32` is never constructed [INFO] [stdout] --> src/badcounter.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct AtomicU32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomicU32` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load`, `store`, and `fetch_add` are never used [INFO] [stdout] --> src/badcounter.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl AtomicU32 { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 98 | fn load(&self, ordering: Ordering) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn store(&self, value: u32, ordering: Ordering) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn fetch_add(&self, value: u32, ordering: Ordering) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `controlled_thread` is never used [INFO] [stdout] --> src/badcounter.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn controlled_thread<'scope, State: 'scope + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlledThread` is never constructed [INFO] [stdout] --> src/badcounter.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct ControlledThread<'scope, State: 'scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `act`, `is_blocked`, and `unblock` are never used [INFO] [stdout] --> src/badcounter.rs:170:6 [INFO] [stdout] | [INFO] [stdout] 169 | impl<'scope, State: 'scope> ControlledThread<'scope, State> { [INFO] [stdout] | ----------------------------------------------------------- methods in this implementation [INFO] [stdout] 170 | fn act(&mut self, f: impl FnOnce(&mut State) + Send + 'static) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn is_blocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn unblock(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountId` is never used [INFO] [stdout] --> src/bank.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type AccountId = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Balance` is never used [INFO] [stdout] --> src/bank.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = u128; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bank` is never constructed [INFO] [stdout] --> src/bank.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bank { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bank.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | impl Bank { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | pub const TREASURY: AccountId = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new() -> Bank { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn create_treasury(&mut self, treasury_balance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn create_account(&mut self) -> AccountId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn delete_account(&mut self, account_id: AccountId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_accounts(&self) -> impl ExactSizeIterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn lookup_balance(&self, account_id: AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn transfer(&mut self, dr: AccountId, cr: AccountId, amount: Balance) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_add` is never used [INFO] [stdout] --> src/badcounter.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl AtomicU32 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn fetch_add(&self, value: u32, ordering: Ordering) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "3d7af10254b5c5da20399a502a7ba1e37e4b853e416dd91cd56627ad30d1e081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7af10254b5c5da20399a502a7ba1e37e4b853e416dd91cd56627ad30d1e081", kill_on_drop: false }` [INFO] [stdout] 3d7af10254b5c5da20399a502a7ba1e37e4b853e416dd91cd56627ad30d1e081 [INFO] checking matklad/arbring against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Farbring" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matklad/arbring on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matklad/arbring [INFO] finished tweaking git repo https://github.com/matklad/arbring [INFO] tweaked toml for git repo https://github.com/matklad/arbring written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matklad/arbring 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e297186b3ee53201f8dae3a0545537b60f231d51fa9c2d399d7425fe49949531 [INFO] running `Command { std: "docker" "start" "-a" "e297186b3ee53201f8dae3a0545537b60f231d51fa9c2d399d7425fe49949531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e297186b3ee53201f8dae3a0545537b60f231d51fa9c2d399d7425fe49949531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e297186b3ee53201f8dae3a0545537b60f231d51fa9c2d399d7425fe49949531", kill_on_drop: false }` [INFO] [stdout] e297186b3ee53201f8dae3a0545537b60f231d51fa9c2d399d7425fe49949531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53d52822c6b6701385da691cd56501ab97c2eb6142b13da873c6490e9046b71 [INFO] running `Command { std: "docker" "start" "-a" "b53d52822c6b6701385da691cd56501ab97c2eb6142b13da873c6490e9046b71", kill_on_drop: false }` [INFO] [stderr] Checking arbitrary v1.3.2 (http://github.com/rust-fuzz/arbitrary#74122c8e) [INFO] [stderr] Checking arbtest v0.3.1 [INFO] [stderr] Checking arbring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bank.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bank.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bank.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | if (balance_total != balance_total_initial) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - if (balance_total != balance_total_initial) { [INFO] [stdout] 101 + if balance_total != balance_total_initial { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queue` is never constructed [INFO] [stdout] --> src/lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `len` are never used [INFO] [stdout] --> src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Queue { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(size: usize) -> Queue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn push(&mut self, n: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn pop(&mut self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BadCounter` is never constructed [INFO] [stdout] --> src/badcounter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct BadCounter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadCounter` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment` and `get` are never used [INFO] [stdout] --> src/badcounter.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl BadCounter { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 17 | fn increment(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn get(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/badcounter.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shared` is never constructed [INFO] [stdout] --> src/badcounter.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get` and `block` are never used [INFO] [stdout] --> src/badcounter.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl Shared { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 75 | fn get() -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn block(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AtomicU32` is never constructed [INFO] [stdout] --> src/badcounter.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct AtomicU32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomicU32` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load`, `store`, and `fetch_add` are never used [INFO] [stdout] --> src/badcounter.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl AtomicU32 { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 98 | fn load(&self, ordering: Ordering) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn store(&self, value: u32, ordering: Ordering) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn fetch_add(&self, value: u32, ordering: Ordering) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `controlled_thread` is never used [INFO] [stdout] --> src/badcounter.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn controlled_thread<'scope, State: 'scope + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlledThread` is never constructed [INFO] [stdout] --> src/badcounter.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct ControlledThread<'scope, State: 'scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `act`, `is_blocked`, and `unblock` are never used [INFO] [stdout] --> src/badcounter.rs:170:6 [INFO] [stdout] | [INFO] [stdout] 169 | impl<'scope, State: 'scope> ControlledThread<'scope, State> { [INFO] [stdout] | ----------------------------------------------------------- methods in this implementation [INFO] [stdout] 170 | fn act(&mut self, f: impl FnOnce(&mut State) + Send + 'static) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn is_blocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn unblock(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountId` is never used [INFO] [stdout] --> src/bank.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type AccountId = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Balance` is never used [INFO] [stdout] --> src/bank.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = u128; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bank` is never constructed [INFO] [stdout] --> src/bank.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bank { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bank.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | impl Bank { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | pub const TREASURY: AccountId = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new() -> Bank { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn create_treasury(&mut self, treasury_balance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn create_account(&mut self) -> AccountId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn delete_account(&mut self, account_id: AccountId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_accounts(&self) -> impl ExactSizeIterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn lookup_balance(&self, account_id: AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn transfer(&mut self, dr: AccountId, cr: AccountId, amount: Balance) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/badcounter.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | TLS.with(|it| it.borrow().clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/badcounter.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 130 | mut state: State, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | ) -> ControlledThread<'scope, State> { [INFO] [stdout] 132 | let shared = Arc::new(Shared { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let (sender, receiver) = mpsc::channel::>(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let handle = scope.spawn({ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let shared = Arc::clone(&shared); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | sender: Some(sender), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/badcounter.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 130 | mut state: State, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | ) -> ControlledThread<'scope, State> { [INFO] [stdout] 132 | let shared = Arc::new(Shared { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let (sender, receiver) = mpsc::channel::>(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let handle = scope.spawn({ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let shared = Arc::clone(&shared); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | handle: Some(handle), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arbring` (lib) due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `fetch_add` is never used [INFO] [stdout] --> src/badcounter.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl AtomicU32 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn fetch_add(&self, value: u32, ordering: Ordering) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/badcounter.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | TLS.with(|it| it.borrow().clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/badcounter.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 130 | mut state: State, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | ) -> ControlledThread<'scope, State> { [INFO] [stdout] 132 | let shared = Arc::new(Shared { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let (sender, receiver) = mpsc::channel::>(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let handle = scope.spawn({ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let shared = Arc::clone(&shared); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | sender: Some(sender), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/badcounter.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 130 | mut state: State, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | ) -> ControlledThread<'scope, State> { [INFO] [stdout] 132 | let shared = Arc::new(Shared { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let (sender, receiver) = mpsc::channel::>(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let handle = scope.spawn({ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let shared = Arc::clone(&shared); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | handle: Some(handle), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arbring` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b53d52822c6b6701385da691cd56501ab97c2eb6142b13da873c6490e9046b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53d52822c6b6701385da691cd56501ab97c2eb6142b13da873c6490e9046b71", kill_on_drop: false }` [INFO] [stdout] b53d52822c6b6701385da691cd56501ab97c2eb6142b13da873c6490e9046b71