[INFO] cloning repository https://github.com/TheMagicNacho/simutron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheMagicNacho/simutron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheMagicNacho%2Fsimutron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheMagicNacho%2Fsimutron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bf4a20979bfc98615b39c1c75089e50c95451c0 [INFO] checking TheMagicNacho/simutron against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheMagicNacho%2Fsimutron" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheMagicNacho/simutron [INFO] finished tweaking git repo https://github.com/TheMagicNacho/simutron [INFO] tweaked toml for git repo https://github.com/TheMagicNacho/simutron written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheMagicNacho/simutron on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheMagicNacho/simutron 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb28b0036ba7cb537cb6b7b4bb16a23fa9ac9a7d762712d11353bd1d1e3b4baa [INFO] running `Command { std: "docker" "start" "-a" "eb28b0036ba7cb537cb6b7b4bb16a23fa9ac9a7d762712d11353bd1d1e3b4baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb28b0036ba7cb537cb6b7b4bb16a23fa9ac9a7d762712d11353bd1d1e3b4baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb28b0036ba7cb537cb6b7b4bb16a23fa9ac9a7d762712d11353bd1d1e3b4baa", kill_on_drop: false }` [INFO] [stdout] eb28b0036ba7cb537cb6b7b4bb16a23fa9ac9a7d762712d11353bd1d1e3b4baa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b89a9295afd29682e1a07807c564e5425d078b0caa477fadde9280cc49678344 [INFO] running `Command { std: "docker" "start" "-a" "b89a9295afd29682e1a07807c564e5425d078b0caa477fadde9280cc49678344", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking simutron v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `creature_component` [INFO] [stdout] --> src/ecs/world.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let creature_component = match self.get_component::(creature) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creature_component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: crate-private trait `MaterialManeuverability` in public interface [INFO] [stdout] --> src/map/base_terrain.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait MaterialManeuverability: 'static + Send + Sync { [INFO] [stdout] | --------------------------------------------------------------- `MaterialManeuverability` declared as crate-private [INFO] [stdout] ... [INFO] [stdout] 34 | type Material: 'static + Debug + Clone + PartialEq + MaterialManeuverability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maneuverability` is more private than the item `base_terrain::Map::get_maneuverability` [INFO] [stdout] --> src/map/base_terrain.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_maneuverability(&self, position: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `base_terrain::Map::get_maneuverability` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Maneuverability` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/map/base_terrain.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum Maneuverability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maneuverability` is more private than the item ` as base_terrain::Map>::get_maneuverability` [INFO] [stdout] --> src/map/base_terrain.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_maneuverability(&self, position: Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as base_terrain::Map>::get_maneuverability` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Maneuverability` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/map/base_terrain.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum Maneuverability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creature_component` [INFO] [stdout] --> src/ecs/world.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let creature_component = match self.get_component::(creature) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creature_component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position_lookup` is never read [INFO] [stdout] --> src/ecs/world.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | position_lookup: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TerrainManeuverability` is never used [INFO] [stdout] --> src/map/maneuverability.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TerrainManeuverability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cost` is never used [INFO] [stdout] --> src/map/maneuverability.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TerrainManeuverability { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 11 | pub fn cost(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simutron` (lib) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0446]: crate-private trait `MaterialManeuverability` in public interface [INFO] [stdout] --> src/map/base_terrain.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait MaterialManeuverability: 'static + Send + Sync { [INFO] [stdout] | --------------------------------------------------------------- `MaterialManeuverability` declared as crate-private [INFO] [stdout] ... [INFO] [stdout] 34 | type Material: 'static + Debug + Clone + PartialEq + MaterialManeuverability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maneuverability` is more private than the item `base_terrain::Map::get_maneuverability` [INFO] [stdout] --> src/map/base_terrain.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_maneuverability(&self, position: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `base_terrain::Map::get_maneuverability` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Maneuverability` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/map/base_terrain.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum Maneuverability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maneuverability` is more private than the item ` as base_terrain::Map>::get_maneuverability` [INFO] [stdout] --> src/map/base_terrain.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_maneuverability(&self, position: Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as base_terrain::Map>::get_maneuverability` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Maneuverability` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/map/base_terrain.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum Maneuverability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position_lookup` is never read [INFO] [stdout] --> src/ecs/world.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | position_lookup: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TerrainManeuverability` is never used [INFO] [stdout] --> src/map/maneuverability.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TerrainManeuverability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cost` is never used [INFO] [stdout] --> src/map/maneuverability.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TerrainManeuverability { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 11 | pub fn cost(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simutron` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b89a9295afd29682e1a07807c564e5425d078b0caa477fadde9280cc49678344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89a9295afd29682e1a07807c564e5425d078b0caa477fadde9280cc49678344", kill_on_drop: false }` [INFO] [stdout] b89a9295afd29682e1a07807c564e5425d078b0caa477fadde9280cc49678344