[INFO] cloning repository https://github.com/isidornygren/daedalus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isidornygren/daedalus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisidornygren%2Fdaedalus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisidornygren%2Fdaedalus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88be6fa45655fae8475a911972d140d5abc91847 [INFO] testing isidornygren/daedalus against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisidornygren%2Fdaedalus" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/isidornygren/daedalus on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/isidornygren/daedalus [INFO] finished tweaking git repo https://github.com/isidornygren/daedalus [INFO] tweaked toml for git repo https://github.com/isidornygren/daedalus written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/isidornygren/daedalus already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 23b680bd7ec021ddb31931d1f45d9c94b9021a941b30841a1773c3a49ee951aa [INFO] running `Command { std: "docker" "start" "-a" "23b680bd7ec021ddb31931d1f45d9c94b9021a941b30841a1773c3a49ee951aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23b680bd7ec021ddb31931d1f45d9c94b9021a941b30841a1773c3a49ee951aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b680bd7ec021ddb31931d1f45d9c94b9021a941b30841a1773c3a49ee951aa", kill_on_drop: false }` [INFO] [stdout] 23b680bd7ec021ddb31931d1f45d9c94b9021a941b30841a1773c3a49ee951aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd287c2a82d69549cd761c7a72b9a669f09db5c257dfe22d5b1335ad0d19a49 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9cd287c2a82d69549cd761c7a72b9a669f09db5c257dfe22d5b1335ad0d19a49", kill_on_drop: false }` [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bmp v0.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling daedalus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/cell_matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cell_matrix.rs:147:65 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stdout] 147 + pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<&mut Section> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_node` [INFO] [stdout] --> src/labyrinth_generator.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::corridor_tree::{remove_node, CorridorNode, WrappedCorridorNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::room::Corridor` [INFO] [stdout] --> src/labyrinth_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::room::Corridor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sections::Section` [INFO] [stdout] --> src/labyrinth_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sections::Section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map_generator.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | Custom(&'static FnOnce() -> String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce() -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `Sectionable` [INFO] [stdout] --> src/room.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sections::{Section, Sectionable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sections::Section` [INFO] [stdout] --> src/room_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sections::Section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_section_id` [INFO] [stdout] --> src/sections.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let best_section_id = self.connect_sections(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_section_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_tree_children` [INFO] [stdout] --> src/labyrinth_generator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_within_circle_shape` [INFO] [stdout] --> src/room_generator.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn is_within_circle_shape(a: &Room, radius: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.58s [INFO] running `Command { std: "docker" "inspect" "9cd287c2a82d69549cd761c7a72b9a669f09db5c257dfe22d5b1335ad0d19a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd287c2a82d69549cd761c7a72b9a669f09db5c257dfe22d5b1335ad0d19a49", kill_on_drop: false }` [INFO] [stdout] 9cd287c2a82d69549cd761c7a72b9a669f09db5c257dfe22d5b1335ad0d19a49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b14d8f9a0582abf7b95905b5379e861efdb982af9bf173dbb3b9641636b69ae5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b14d8f9a0582abf7b95905b5379e861efdb982af9bf173dbb3b9641636b69ae5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/cell_matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cell_matrix.rs:147:65 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stdout] 147 + pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<&mut Section> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_node` [INFO] [stdout] --> src/labyrinth_generator.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::corridor_tree::{remove_node, CorridorNode, WrappedCorridorNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::room::Corridor` [INFO] [stdout] --> src/labyrinth_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::room::Corridor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sections::Section` [INFO] [stdout] --> src/labyrinth_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sections::Section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map_generator.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | Custom(&'static FnOnce() -> String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce() -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `Sectionable` [INFO] [stdout] --> src/room.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sections::{Section, Sectionable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sections::Section` [INFO] [stdout] --> src/room_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sections::Section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_section_id` [INFO] [stdout] --> src/sections.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let best_section_id = self.connect_sections(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_section_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling daedalus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `print_tree_children` [INFO] [stdout] --> src/labyrinth_generator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_within_circle_shape` [INFO] [stdout] --> src/room_generator.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn is_within_circle_shape(a: &Room, radius: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/cell_matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cell_matrix.rs:147:65 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stdout] 147 + pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<&mut Section> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_node` [INFO] [stdout] --> src/labyrinth_generator.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::corridor_tree::{remove_node, CorridorNode, WrappedCorridorNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::room::Corridor` [INFO] [stdout] --> src/labyrinth_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::room::Corridor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sections::Section` [INFO] [stdout] --> src/labyrinth_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sections::Section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map_generator.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | Custom(&'static FnOnce() -> String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce() -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `Sectionable` [INFO] [stdout] --> src/room.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sections::{Section, Sectionable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sections::Section` [INFO] [stdout] --> src/room_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sections::Section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_section_id` [INFO] [stdout] --> src/sections.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let best_section_id = self.connect_sections(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_section_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_tree_children` [INFO] [stdout] --> src/labyrinth_generator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_within_circle_shape` [INFO] [stdout] --> src/room_generator.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn is_within_circle_shape(a: &Room, radius: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "b14d8f9a0582abf7b95905b5379e861efdb982af9bf173dbb3b9641636b69ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b14d8f9a0582abf7b95905b5379e861efdb982af9bf173dbb3b9641636b69ae5", kill_on_drop: false }` [INFO] [stdout] b14d8f9a0582abf7b95905b5379e861efdb982af9bf173dbb3b9641636b69ae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 811d21a17fe840f7593827818ec121455e61af5a708feb6d40804ac979089df9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "811d21a17fe840f7593827818ec121455e61af5a708feb6d40804ac979089df9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::direction::Direction` [INFO] [stderr] --> src/cell_matrix.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::direction::Direction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/cell_matrix.rs:147:65 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 147 - pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stderr] 147 + pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<&mut Section> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `remove_node` [INFO] [stderr] --> src/labyrinth_generator.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::corridor_tree::{remove_node, CorridorNode, WrappedCorridorNode}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::room::Corridor` [INFO] [stderr] --> src/labyrinth_generator.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::room::Corridor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::sections::Section` [INFO] [stderr] --> src/labyrinth_generator.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::sections::Section; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map_generator.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | Custom(&'static FnOnce() -> String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce() -> String` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Section`, `Sectionable` [INFO] [stderr] --> src/room.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::sections::{Section, Sectionable}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::sections::Section` [INFO] [stderr] --> src/room_generator.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::sections::Section; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `best_section_id` [INFO] [stderr] --> src/sections.rs:171:13 [INFO] [stderr] | [INFO] [stderr] 171 | let best_section_id = self.connect_sections(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_section_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_tree_children` [INFO] [stderr] --> src/labyrinth_generator.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_within_circle_shape` [INFO] [stderr] --> src/room_generator.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn is_within_circle_shape(a: &Room, radius: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `daedalus` (lib) generated 11 warnings [INFO] [stderr] warning: `daedalus` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/daedalus-079712c298f1a2fa) [INFO] [stderr] Doc-tests daedalus [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] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/cell_matrix.rs:147:65 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 147 - pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<(&mut Section)> { [INFO] [stderr] 147 + pub fn get_section_mut(&mut self, x: i32, y: i32) -> Option<&mut Section> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "811d21a17fe840f7593827818ec121455e61af5a708feb6d40804ac979089df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811d21a17fe840f7593827818ec121455e61af5a708feb6d40804ac979089df9", kill_on_drop: false }` [INFO] [stdout] 811d21a17fe840f7593827818ec121455e61af5a708feb6d40804ac979089df9