[INFO] cloning repository https://github.com/DomWilliams0/road-generation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DomWilliams0/road-generation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomWilliams0%2Froad-generation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomWilliams0%2Froad-generation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8db167f9af2cf3054bb2add40cbf0f8287112e9 [INFO] checking DomWilliams0/road-generation against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomWilliams0%2Froad-generation" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DomWilliams0/road-generation on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DomWilliams0/road-generation [INFO] finished tweaking git repo https://github.com/DomWilliams0/road-generation [INFO] tweaked toml for git repo https://github.com/DomWilliams0/road-generation written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DomWilliams0/road-generation 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cgmath v0.14.1 [INFO] [stderr] Downloaded csfml-window-sys v0.2.0 [INFO] [stderr] Downloaded serde v1.0.7 [INFO] [stderr] Downloaded toml v0.4.1 [INFO] [stderr] Downloaded libc v0.2.23 [INFO] [stderr] Downloaded serde_derive_internals v0.15.0 [INFO] [stderr] Downloaded fux_kdtree v0.2.0 [INFO] [stderr] Downloaded sfml-build v0.1.0 [INFO] [stderr] Downloaded csfml-graphics-sys v0.3.0 [INFO] [stderr] Downloaded csfml-system-sys v0.2.1 [INFO] [stderr] Downloaded smallvec v0.4.0 [INFO] [stderr] Downloaded csfml-audio-sys v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.7 [INFO] [stderr] Downloaded sfml v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f73a2d7d0745d53dcf4c0a19f77dae5fb1e554d81ce46f6a9ae0e7e8ed6c382 [INFO] running `Command { std: "docker" "start" "-a" "6f73a2d7d0745d53dcf4c0a19f77dae5fb1e554d81ce46f6a9ae0e7e8ed6c382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f73a2d7d0745d53dcf4c0a19f77dae5fb1e554d81ce46f6a9ae0e7e8ed6c382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f73a2d7d0745d53dcf4c0a19f77dae5fb1e554d81ce46f6a9ae0e7e8ed6c382", kill_on_drop: false }` [INFO] [stdout] 6f73a2d7d0745d53dcf4c0a19f77dae5fb1e554d81ce46f6a9ae0e7e8ed6c382 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36f816b1a1d8f51dd65500f8a8ea238208f4eecce0e4d6db2b7296af776727ee [INFO] running `Command { std: "docker" "start" "-a" "36f816b1a1d8f51dd65500f8a8ea238208f4eecce0e4d6db2b7296af776727ee", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking serde v1.0.7 [INFO] [stderr] Checking smallvec v0.4.0 [INFO] [stderr] Checking fux_kdtree v0.2.0 [INFO] [stderr] Compiling csfml-system-sys v0.2.1 [INFO] [stderr] Compiling csfml-window-sys v0.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling csfml-audio-sys v0.2.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.3.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking sfml v0.12.0 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.7 [INFO] [stderr] Checking toml v0.4.1 [INFO] [stderr] Checking road_generation v0.1.0 (/opt/rustwide/workdir/road_generation) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> road_generation/src/config.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | ... e.description())))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> road_generation/src/config.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | ... e.description())))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 139 | let _ = road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 139 | let _ = road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking road_renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref ROAD_RENDERING: [(Color, u32); 3] = [ [INFO] [stdout] 21 | | (Color::rgb(0, 0, 255), 1), // small [INFO] [stdout] 22 | | (Color::rgb(0, 0, 0), 3), // medium [INFO] [stdout] 23 | | (Color::rgb(255, 0, 0), 5), // large [INFO] [stdout] 24 | | ]; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref ROAD_RENDERING: [(Color, u32); 3] = [ [INFO] [stdout] 21 | | (Color::rgb(0, 0, 255), 1), // small [INFO] [stdout] 22 | | (Color::rgb(0, 0, 0), 3), // medium [INFO] [stdout] 23 | | (Color::rgb(255, 0, 0), 5), // large [INFO] [stdout] 24 | | ]; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | fn render_roadmap(target: &mut RenderTarget, roadmap: &RoadMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | fn render_roadmap(target: &mut dyn RenderTarget, roadmap: &RoadMap) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref ROAD_RENDERING: [(Color, u32); 3] = [ [INFO] [stdout] 21 | | (Color::rgb(0, 0, 255), 1), // small [INFO] [stdout] 22 | | (Color::rgb(0, 0, 0), 3), // medium [INFO] [stdout] 23 | | (Color::rgb(255, 0, 0), 5), // large [INFO] [stdout] 24 | | ]; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref ROAD_RENDERING: [(Color, u32); 3] = [ [INFO] [stdout] 21 | | (Color::rgb(0, 0, 255), 1), // small [INFO] [stdout] 22 | | (Color::rgb(0, 0, 0), 3), // medium [INFO] [stdout] 23 | | (Color::rgb(255, 0, 0), 5), // large [INFO] [stdout] 24 | | ]; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | fn render_roadmap(target: &mut RenderTarget, roadmap: &RoadMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | fn render_roadmap(target: &mut dyn RenderTarget, roadmap: &RoadMap) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "36f816b1a1d8f51dd65500f8a8ea238208f4eecce0e4d6db2b7296af776727ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f816b1a1d8f51dd65500f8a8ea238208f4eecce0e4d6db2b7296af776727ee", kill_on_drop: false }` [INFO] [stdout] 36f816b1a1d8f51dd65500f8a8ea238208f4eecce0e4d6db2b7296af776727ee [INFO] checking DomWilliams0/road-generation against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomWilliams0%2Froad-generation" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DomWilliams0/road-generation on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DomWilliams0/road-generation [INFO] finished tweaking git repo https://github.com/DomWilliams0/road-generation [INFO] tweaked toml for git repo https://github.com/DomWilliams0/road-generation written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DomWilliams0/road-generation 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afcfbc4acfd666fcb40f37c0bc7616766b63a29bb7de887d05fc8d8d064ab3e8 [INFO] running `Command { std: "docker" "start" "-a" "afcfbc4acfd666fcb40f37c0bc7616766b63a29bb7de887d05fc8d8d064ab3e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afcfbc4acfd666fcb40f37c0bc7616766b63a29bb7de887d05fc8d8d064ab3e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afcfbc4acfd666fcb40f37c0bc7616766b63a29bb7de887d05fc8d8d064ab3e8", kill_on_drop: false }` [INFO] [stdout] afcfbc4acfd666fcb40f37c0bc7616766b63a29bb7de887d05fc8d8d064ab3e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b01195407ca7cc96d055c4f190e6fd494c4656e389b90742dc54e6701d96e5 [INFO] running `Command { std: "docker" "start" "-a" "63b01195407ca7cc96d055c4f190e6fd494c4656e389b90742dc54e6701d96e5", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking serde v1.0.7 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking fux_kdtree v0.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling csfml-system-sys v0.2.1 [INFO] [stderr] Compiling csfml-window-sys v0.2.0 [INFO] [stderr] Compiling csfml-audio-sys v0.2.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.3.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking smallvec v0.4.0 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking sfml v0.12.0 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.7 [INFO] [stderr] Checking toml v0.4.1 [INFO] [stderr] Checking road_generation v0.1.0 (/opt/rustwide/workdir/road_generation) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> road_generation/src/config.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | ... e.description())))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> road_generation/src/config.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | ... e.description())))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 139 | let _ = road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_WindowConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GenerationConfigs` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GenerationConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = road.from.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> road_generation/src/generator.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 139 | let _ = road.to.map_or((), |p| acc.push(p)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_WindowConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GenerationConfigs` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> road_generation/src/config.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Deserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GenerationConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `road_generation` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `road_generation` (lib) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63b01195407ca7cc96d055c4f190e6fd494c4656e389b90742dc54e6701d96e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b01195407ca7cc96d055c4f190e6fd494c4656e389b90742dc54e6701d96e5", kill_on_drop: false }` [INFO] [stdout] 63b01195407ca7cc96d055c4f190e6fd494c4656e389b90742dc54e6701d96e5