[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 try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisidornygren%2Fdaedalus" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/isidornygren/daedalus on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/isidornygren/daedalus 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f4a16dc4f7a9bea16be52872a9bfc3fb5eeb147be88ab4c2d742f14700b31a5 [INFO] running `Command { std: "docker" "start" "-a" "1f4a16dc4f7a9bea16be52872a9bfc3fb5eeb147be88ab4c2d742f14700b31a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f4a16dc4f7a9bea16be52872a9bfc3fb5eeb147be88ab4c2d742f14700b31a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4a16dc4f7a9bea16be52872a9bfc3fb5eeb147be88ab4c2d742f14700b31a5", kill_on_drop: false }` [INFO] [stdout] 1f4a16dc4f7a9bea16be52872a9bfc3fb5eeb147be88ab4c2d742f14700b31a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066aa361e838e0bedfe72422f5eb12450a11c2babe29dbd142b70d9a12912d91 [INFO] running `Command { std: "docker" "start" "-a" "066aa361e838e0bedfe72422f5eb12450a11c2babe29dbd142b70d9a12912d91", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling byteorder v1.3.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 rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bmp v0.4.0 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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` and `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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_tree_children` is never used [INFO] [stdout] --> src/labyrinth_generator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl LabyrinthGenerator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_within_circle_shape` is never used [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: trait `Sectionable` is never used [INFO] [stdout] --> src/sections.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Sectionable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell_matrix.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn iter_rooms(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn iter_rooms(&self) -> std::slice::Iter<'_, Room> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell_matrix.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter_corridors(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter_corridors(&self) -> std::slice::Iter<'_, Corridor> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "066aa361e838e0bedfe72422f5eb12450a11c2babe29dbd142b70d9a12912d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066aa361e838e0bedfe72422f5eb12450a11c2babe29dbd142b70d9a12912d91", kill_on_drop: false }` [INFO] [stdout] 066aa361e838e0bedfe72422f5eb12450a11c2babe29dbd142b70d9a12912d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b39bc8030914602998190444ea48fe568d2512c4779bb48bdcdcbd6c20b2dc70 [INFO] running `Command { std: "docker" "start" "-a" "b39bc8030914602998190444ea48fe568d2512c4779bb48bdcdcbd6c20b2dc70", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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` and `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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_tree_children` is never used [INFO] [stdout] --> src/labyrinth_generator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl LabyrinthGenerator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_within_circle_shape` is never used [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: trait `Sectionable` is never used [INFO] [stdout] --> src/sections.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Sectionable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell_matrix.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn iter_rooms(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn iter_rooms(&self) -> std::slice::Iter<'_, Room> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell_matrix.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter_corridors(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter_corridors(&self) -> std::slice::Iter<'_, Corridor> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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` and `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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_tree_children` is never used [INFO] [stdout] --> src/labyrinth_generator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl LabyrinthGenerator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_within_circle_shape` is never used [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: trait `Sectionable` is never used [INFO] [stdout] --> src/sections.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Sectionable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell_matrix.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn iter_rooms(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn iter_rooms(&self) -> std::slice::Iter<'_, Room> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell_matrix.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter_corridors(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter_corridors(&self) -> std::slice::Iter<'_, Corridor> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "b39bc8030914602998190444ea48fe568d2512c4779bb48bdcdcbd6c20b2dc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39bc8030914602998190444ea48fe568d2512c4779bb48bdcdcbd6c20b2dc70", kill_on_drop: false }` [INFO] [stdout] b39bc8030914602998190444ea48fe568d2512c4779bb48bdcdcbd6c20b2dc70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 159e37530ea5ff6eb5219d0fcb604cda5587100e6a9c3d25f354d561dfd63a01 [INFO] running `Command { std: "docker" "start" "-a" "159e37530ea5ff6eb5219d0fcb604cda5587100e6a9c3d25f354d561dfd63a01", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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` and `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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `print_tree_children` is never used [INFO] [stderr] --> src/labyrinth_generator.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 21 | impl LabyrinthGenerator { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 62 | fn print_tree_children(&self, node: &WrappedCorridorNode) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `is_within_circle_shape` is never used [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: trait `Sectionable` is never used [INFO] [stderr] --> src/sections.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub trait Sectionable { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cell_matrix.rs:181:23 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn iter_rooms(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 181 | pub fn iter_rooms(&self) -> std::slice::Iter<'_, Room> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cell_matrix.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn iter_corridors(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 184 | pub fn iter_corridors(&self) -> std::slice::Iter<'_, Corridor> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `daedalus` (lib) generated 14 warnings (run `cargo fix --lib -p daedalus` to apply 11 suggestions) [INFO] [stderr] warning: `daedalus` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/daedalus-6f976e64565081f8) [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] Doc-tests daedalus [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)]` (part of `#[warn(unused)]`) 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" "159e37530ea5ff6eb5219d0fcb604cda5587100e6a9c3d25f354d561dfd63a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "159e37530ea5ff6eb5219d0fcb604cda5587100e6a9c3d25f354d561dfd63a01", kill_on_drop: false }` [INFO] [stdout] 159e37530ea5ff6eb5219d0fcb604cda5587100e6a9c3d25f354d561dfd63a01