[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] checking isidornygren/daedalus against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisidornygren%2Fdaedalus" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/isidornygren/daedalus 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/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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bmp v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c84384ff1862e23a13bfa621f60d715fc24e577bedac198220d35c8330f712ac [INFO] running `Command { std: "docker" "start" "-a" "c84384ff1862e23a13bfa621f60d715fc24e577bedac198220d35c8330f712ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c84384ff1862e23a13bfa621f60d715fc24e577bedac198220d35c8330f712ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84384ff1862e23a13bfa621f60d715fc24e577bedac198220d35c8330f712ac", kill_on_drop: false }` [INFO] [stdout] c84384ff1862e23a13bfa621f60d715fc24e577bedac198220d35c8330f712ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 869f747c0e922f9a109c07ad07c32a5b65458c17c9da1aff7cf1405105dc316f [INFO] running `Command { std: "docker" "start" "-a" "869f747c0e922f9a109c07ad07c32a5b65458c17c9da1aff7cf1405105dc316f", kill_on_drop: false }` [INFO] [stderr] Checking 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] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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] Checking bmp v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking 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: 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: 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 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: 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: 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)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | Custom(&'static dyn FnOnce() -> String), [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)]` on by default [INFO] [stdout] help: if this is an object-safe 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)]` 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)]` 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: 12 warnings emitted [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: 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)]` 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "869f747c0e922f9a109c07ad07c32a5b65458c17c9da1aff7cf1405105dc316f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869f747c0e922f9a109c07ad07c32a5b65458c17c9da1aff7cf1405105dc316f", kill_on_drop: false }` [INFO] [stdout] 869f747c0e922f9a109c07ad07c32a5b65458c17c9da1aff7cf1405105dc316f