[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisidornygren%2Fdaedalus" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/isidornygren/daedalus on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bmp v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 695f300d598200f95665b8d32e5bc71f616314c0ef6fdf6664da85816151c8cc [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" "695f300d598200f95665b8d32e5bc71f616314c0ef6fdf6664da85816151c8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "695f300d598200f95665b8d32e5bc71f616314c0ef6fdf6664da85816151c8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695f300d598200f95665b8d32e5bc71f616314c0ef6fdf6664da85816151c8cc", kill_on_drop: false }` [INFO] [stdout] 695f300d598200f95665b8d32e5bc71f616314c0ef6fdf6664da85816151c8cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a27a91ad0e2145e0fe61012fd2affdfcb67f5c58a0cc1f66cdc7496287e90af7 [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" "a27a91ad0e2145e0fe61012fd2affdfcb67f5c58a0cc1f66cdc7496287e90af7", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bmp v0.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [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: 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: 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] | ^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - Custom(&'static FnOnce() -> String), [INFO] [stdout] 9 + Custom(&'static dyn FnOnce() -> String), [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 12.82s [INFO] running `Command { std: "docker" "inspect" "a27a91ad0e2145e0fe61012fd2affdfcb67f5c58a0cc1f66cdc7496287e90af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27a91ad0e2145e0fe61012fd2affdfcb67f5c58a0cc1f66cdc7496287e90af7", kill_on_drop: false }` [INFO] [stdout] a27a91ad0e2145e0fe61012fd2affdfcb67f5c58a0cc1f66cdc7496287e90af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 5a2ff4a5b1178a419ee59a90b6f7aeb3e2f5915c8f3125880bbbaa8dca233e42 [INFO] running `Command { std: "docker" "start" "-a" "5a2ff4a5b1178a419ee59a90b6f7aeb3e2f5915c8f3125880bbbaa8dca233e42", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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: 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] | ^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - Custom(&'static FnOnce() -> String), [INFO] [stdout] 9 + Custom(&'static dyn FnOnce() -> String), [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] [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: 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: 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] | ^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - Custom(&'static FnOnce() -> String), [INFO] [stdout] 9 + Custom(&'static dyn FnOnce() -> String), [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.17s [INFO] running `Command { std: "docker" "inspect" "5a2ff4a5b1178a419ee59a90b6f7aeb3e2f5915c8f3125880bbbaa8dca233e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2ff4a5b1178a419ee59a90b6f7aeb3e2f5915c8f3125880bbbaa8dca233e42", kill_on_drop: false }` [INFO] [stdout] 5a2ff4a5b1178a419ee59a90b6f7aeb3e2f5915c8f3125880bbbaa8dca233e42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] 0ed24698adb69efe89bc4ed5450bc60dce31a46141f57f9431be18571943afd8 [INFO] running `Command { std: "docker" "start" "-a" "0ed24698adb69efe89bc4ed5450bc60dce31a46141f57f9431be18571943afd8", 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: 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: 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] | ^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - Custom(&'static FnOnce() -> String), [INFO] [stderr] 9 + Custom(&'static dyn FnOnce() -> String), [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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/daedalus-0bbd566e8a4c65da) [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] Doc-tests daedalus [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" "0ed24698adb69efe89bc4ed5450bc60dce31a46141f57f9431be18571943afd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed24698adb69efe89bc4ed5450bc60dce31a46141f57f9431be18571943afd8", kill_on_drop: false }` [INFO] [stdout] 0ed24698adb69efe89bc4ed5450bc60dce31a46141f57f9431be18571943afd8