[INFO] cloning repository https://github.com/niooii/gottabetrolling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niooii/gottabetrolling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fgottabetrolling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fgottabetrolling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ccc99f74e6cb5dad5959c28cc223ad86e2bb15e [INFO] testing niooii/gottabetrolling against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fgottabetrolling" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/niooii/gottabetrolling [INFO] finished tweaking git repo https://github.com/niooii/gottabetrolling [INFO] tweaked toml for git repo https://github.com/niooii/gottabetrolling written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/niooii/gottabetrolling on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/niooii/gottabetrolling 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grid_2d v0.15.3 [INFO] [stderr] Downloaded coord_2d v0.3.6 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8306dde4fb11f9b8581f204605f6e196412a07d625b20b8cda5e42272ac4663c [INFO] running `Command { std: "docker" "start" "-a" "8306dde4fb11f9b8581f204605f6e196412a07d625b20b8cda5e42272ac4663c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8306dde4fb11f9b8581f204605f6e196412a07d625b20b8cda5e42272ac4663c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8306dde4fb11f9b8581f204605f6e196412a07d625b20b8cda5e42272ac4663c", kill_on_drop: false }` [INFO] [stdout] 8306dde4fb11f9b8581f204605f6e196412a07d625b20b8cda5e42272ac4663c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c016115fbd6d4f97da310cc89f35541ad4b2d2ee904ac562765f94e58dff7053 [INFO] running `Command { std: "docker" "start" "-a" "c016115fbd6d4f97da310cc89f35541ad4b2d2ee904ac562765f94e58dff7053", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling coord_2d v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling grid_2d v0.15.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling wfc v0.1.0 (/opt/rustwide/workdir/wfc) [INFO] [stderr] Compiling pig_core v0.1.0 (/opt/rustwide/workdir/pig_core) [INFO] [stdout] warning: unused import: `std::cell` [INFO] [stdout] --> pig_core/src/phantom_grid.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TileIndex` and `tile_types` [INFO] [stdout] --> pig_core/src/phantom_grid.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{TileIndex, tile_types}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::CString` [INFO] [stdout] --> pig_core/src/statics.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Mutex, ffi::CString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaCha20Rng` [INFO] [stdout] --> pig_core/src/statics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_chacha::ChaCha20Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::rand_core::SeedableRng` [INFO] [stdout] --> pig_core/src/statics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand_chacha::rand_core::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> pig_core/src/statics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> pig_core/src/tile_weights.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> pig_core/src/ffi.rs:5:138 [INFO] [stdout] | [INFO] [stdout] 5 | ...l}, adjacency_rules::AdjacencyRules, tile_weights::{TileWeights, self}, coord::Coord}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `increment_radius` [INFO] [stdout] --> pig_core/src/core.rs:28:199 [INFO] [stdout] | [INFO] [stdout] 28 | ...earch_radius: u32, increment_radius: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increment_radius` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> pig_core/src/tile_weights.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if let Err(e) = weighted_index_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> pig_core/src/tile_weights.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if let Err(e) = weighted_index_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> pig_core/src/adjacency_rules.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Rule { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | from: TileIndex, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SEARCH_RADIUS` should have a snake case name [INFO] [stdout] --> pig_core/src/core.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut SEARCH_RADIUS: u32 = starting_search_radius; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `search_radius` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> pig_core/src/phantom_grid.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn radius_iter<'a>(&'a self, radius: u32, from_pos: Coord) -> impl Iterator> + 'a { [INFO] [stdout] | ^^ ----- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn radius_iter<'a>(&'a self, radius: u32, from_pos: Coord) -> impl Iterator> + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling implementation_testing v0.1.0 (/opt/rustwide/workdir/implementation_testing) [INFO] [stdout] error[E0601]: `main` function not found in crate `implementation_testing` [INFO] [stdout] --> implementation_testing/src/main.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | // } [INFO] [stdout] | ^ consider adding a `main` function to `implementation_testing/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `implementation_testing` (bin "implementation_testing") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c016115fbd6d4f97da310cc89f35541ad4b2d2ee904ac562765f94e58dff7053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c016115fbd6d4f97da310cc89f35541ad4b2d2ee904ac562765f94e58dff7053", kill_on_drop: false }` [INFO] [stdout] c016115fbd6d4f97da310cc89f35541ad4b2d2ee904ac562765f94e58dff7053