[INFO] cloning repository https://github.com/l-Luna/omsim-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l-Luna/omsim-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0147a1cf90f6f2dec3a8ead85261d09dcb6a217 [INFO] checking l-Luna/omsim-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l-Luna/omsim-rs 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/l-Luna/omsim-rs [INFO] finished tweaking git repo https://github.com/l-Luna/omsim-rs [INFO] tweaked toml for git repo https://github.com/l-Luna/omsim-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/l-Luna/omsim-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 02e1f7bd41973e6a5e8135c0614cfc6be27b16fee7bd255c5eb87f2c35c75bad [INFO] running `Command { std: "docker" "start" "-a" "02e1f7bd41973e6a5e8135c0614cfc6be27b16fee7bd255c5eb87f2c35c75bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e1f7bd41973e6a5e8135c0614cfc6be27b16fee7bd255c5eb87f2c35c75bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e1f7bd41973e6a5e8135c0614cfc6be27b16fee7bd255c5eb87f2c35c75bad", kill_on_drop: false }` [INFO] [stdout] 02e1f7bd41973e6a5e8135c0614cfc6be27b16fee7bd255c5eb87f2c35c75bad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6c73ffdb226185c52400edbb81e82de84c5c921f21c86c029570a18e07a8d621 [INFO] running `Command { std: "docker" "start" "-a" "6c73ffdb226185c52400edbb81e82de84c5c921f21c86c029570a18e07a8d621", kill_on_drop: false }` [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking omsim-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `ArmBase`, `ArmGripper`, `ProducedAtom`, and `ChamberWall` are never constructed [INFO] [stdout] --> src/sim/collision.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 88 | Atom, // radius 29 [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | ArmBase, // radius 20 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | ArmGripper, // radius 20?, only collides with ChamberWall [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | ProducedAtom, // radius 15 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | ChamberWall, // radius 20?, only collides with Atom and ArmGripper [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColliderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stay`, `Translate`, and `Rotate` are never constructed [INFO] [stdout] --> src/sim/collision.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 118 | Stay{ at: HexIndex }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | Translate{ start: HexIndex, end: HexIndex }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 120 | Rotate{ start: HexIndex, around: HexIndex, rotation: HexRotation } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Movement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `ArmBase`, `ArmGripper`, `ProducedAtom`, and `ChamberWall` are never constructed [INFO] [stdout] --> src/sim/collision.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 88 | Atom, // radius 29 [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | ArmBase, // radius 20 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | ArmGripper, // radius 20?, only collides with ChamberWall [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | ProducedAtom, // radius 15 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | ChamberWall, // radius 20?, only collides with Atom and ArmGripper [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColliderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stay`, `Translate`, and `Rotate` are never constructed [INFO] [stdout] --> src/sim/collision.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 118 | Stay{ at: HexIndex }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | Translate{ start: HexIndex, end: HexIndex }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 120 | Rotate{ start: HexIndex, around: HexIndex, rotation: HexRotation } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Movement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "6c73ffdb226185c52400edbb81e82de84c5c921f21c86c029570a18e07a8d621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c73ffdb226185c52400edbb81e82de84c5c921f21c86c029570a18e07a8d621", kill_on_drop: false }` [INFO] [stdout] 6c73ffdb226185c52400edbb81e82de84c5c921f21c86c029570a18e07a8d621 [INFO] checking l-Luna/omsim-rs 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%2Fl-Luna%2Fomsim-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l-Luna/omsim-rs 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/l-Luna/omsim-rs [INFO] finished tweaking git repo https://github.com/l-Luna/omsim-rs [INFO] tweaked toml for git repo https://github.com/l-Luna/omsim-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/l-Luna/omsim-rs 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3f086b601e2925a388a2a86633c873be45da84ea62fe3452024843dc96cd5165 [INFO] running `Command { std: "docker" "start" "-a" "3f086b601e2925a388a2a86633c873be45da84ea62fe3452024843dc96cd5165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f086b601e2925a388a2a86633c873be45da84ea62fe3452024843dc96cd5165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f086b601e2925a388a2a86633c873be45da84ea62fe3452024843dc96cd5165", kill_on_drop: false }` [INFO] [stdout] 3f086b601e2925a388a2a86633c873be45da84ea62fe3452024843dc96cd5165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b486b4fbc252ae05b9550172ec5683a40293a41f8b0c23d03e90c669b5261e70 [INFO] running `Command { std: "docker" "start" "-a" "b486b4fbc252ae05b9550172ec5683a40293a41f8b0c23d03e90c669b5261e70", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking omsim-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `ArmBase`, `ArmGripper`, `ProducedAtom`, and `ChamberWall` are never constructed [INFO] [stdout] --> src/sim/collision.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 88 | Atom, // radius 29 [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | ArmBase, // radius 20 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | ArmGripper, // radius 20?, only collides with ChamberWall [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | ProducedAtom, // radius 15 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | ChamberWall, // radius 20?, only collides with Atom and ArmGripper [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColliderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stay`, `Translate`, and `Rotate` are never constructed [INFO] [stdout] --> src/sim/collision.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 118 | Stay{ at: HexIndex }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | Translate{ start: HexIndex, end: HexIndex }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 120 | Rotate{ start: HexIndex, around: HexIndex, rotation: HexRotation } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Movement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [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/parse.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 14 | let reagents = parser.parse_list(|s| s.parse_molecule())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let products = parser.parse_list(|s| s.parse_molecule())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Puzzle{ name, creator_id, reagents, products, permissions, product_multiplier, production_info }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `ArmBase`, `ArmGripper`, `ProducedAtom`, and `ChamberWall` are never constructed [INFO] [stdout] --> src/sim/collision.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 88 | Atom, // radius 29 [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | ArmBase, // radius 20 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | ArmGripper, // radius 20?, only collides with ChamberWall [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | ProducedAtom, // radius 15 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | ChamberWall, // radius 20?, only collides with Atom and ArmGripper [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColliderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stay`, `Translate`, and `Rotate` are never constructed [INFO] [stdout] --> src/sim/collision.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 118 | Stay{ at: HexIndex }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | Translate{ start: HexIndex, end: HexIndex }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 120 | Rotate{ start: HexIndex, around: HexIndex, rotation: HexRotation } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Movement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [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/parse.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 14 | let reagents = parser.parse_list(|s| s.parse_molecule())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let products = parser.parse_list(|s| s.parse_molecule())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Puzzle{ name, creator_id, reagents, products, permissions, product_multiplier, production_info }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `omsim-rs` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `omsim-rs` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b486b4fbc252ae05b9550172ec5683a40293a41f8b0c23d03e90c669b5261e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b486b4fbc252ae05b9550172ec5683a40293a41f8b0c23d03e90c669b5261e70", kill_on_drop: false }` [INFO] [stdout] b486b4fbc252ae05b9550172ec5683a40293a41f8b0c23d03e90c669b5261e70