[INFO] cloning repository https://github.com/PaulSenecal/Efrei_Tp_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PaulSenecal/Efrei_Tp_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulSenecal%2FEfrei_Tp_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulSenecal%2FEfrei_Tp_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c84d06bd20cd5ca782de8dfb43c6b6340ad2334 [INFO] building PaulSenecal/Efrei_Tp_Rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulSenecal%2FEfrei_Tp_Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PaulSenecal/Efrei_Tp_Rust [INFO] finished tweaking git repo https://github.com/PaulSenecal/Efrei_Tp_Rust [INFO] tweaked toml for git repo https://github.com/PaulSenecal/Efrei_Tp_Rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PaulSenecal/Efrei_Tp_Rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PaulSenecal/Efrei_Tp_Rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fsevent v0.4.0 [INFO] [stderr] Downloaded notify v4.0.18 [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded zvariant_derive v5.5.3 [INFO] [stderr] Downloaded derive_builder v0.10.2 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded mac-notification-sys v0.6.4 [INFO] [stderr] Downloaded zbus_macros v5.7.1 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded stderrlog v0.6.0 [INFO] [stderr] Downloaded cargo-watch v8.5.3 [INFO] [stderr] Downloaded terminfo v0.7.5 [INFO] [stderr] Downloaded derive_builder_core v0.10.2 [INFO] [stderr] Downloaded derive_builder_macro v0.10.2 [INFO] [stderr] Downloaded zvariant v5.5.3 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded fsevent-sys v2.0.1 [INFO] [stderr] Downloaded inotify v0.7.1 [INFO] [stderr] Downloaded watchexec v1.17.2 [INFO] [stderr] Downloaded zbus v5.7.1 [INFO] [stderr] Downloaded clearscreen v1.0.11 [INFO] [stderr] Downloaded command-group v1.0.8 [INFO] [stderr] Downloaded noise v0.8.2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bdcd389a8b7dd17045efeb16b635a0ea1fdf364fbfdad7a1c90baa0b7e128df [INFO] running `Command { std: "docker" "start" "-a" "6bdcd389a8b7dd17045efeb16b635a0ea1fdf364fbfdad7a1c90baa0b7e128df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bdcd389a8b7dd17045efeb16b635a0ea1fdf364fbfdad7a1c90baa0b7e128df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bdcd389a8b7dd17045efeb16b635a0ea1fdf364fbfdad7a1c90baa0b7e128df", kill_on_drop: false }` [INFO] [stdout] 6bdcd389a8b7dd17045efeb16b635a0ea1fdf364fbfdad7a1c90baa0b7e128df [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4a6ab0d7bbec23134b81a7b5f63be9767b77a6b71995c2b55b186700c5b1290 [INFO] running `Command { std: "docker" "start" "-a" "c4a6ab0d7bbec23134b81a7b5f63be9767b77a6b71995c2b55b186700c5b1290", kill_on_drop: false }` [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling noise v0.8.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling rust-map-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Seedable` [INFO] [stdout] --> src/map/generator.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Resource` [INFO] [stdout] --> src/map/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub use resources::{Resource, ResourceType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile` and `consume_resource` are never used [INFO] [stdout] --> src/map/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn consume_resource(&mut self, x: usize, y: usize) -> Option { [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 `ResourceType` is never used [INFO] [stdout] --> src/map/resources.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ResourceType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/map/resources.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `value`, and `is_consumable` are never used [INFO] [stdout] --> src/map/resources.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ResourceType { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 18 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn value(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_consumable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.90s [INFO] running `Command { std: "docker" "inspect" "c4a6ab0d7bbec23134b81a7b5f63be9767b77a6b71995c2b55b186700c5b1290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a6ab0d7bbec23134b81a7b5f63be9767b77a6b71995c2b55b186700c5b1290", kill_on_drop: false }` [INFO] [stdout] c4a6ab0d7bbec23134b81a7b5f63be9767b77a6b71995c2b55b186700c5b1290 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d126b07d2d29b4720cc954ec0f6a14816f159cc8e937ff76cdedbc5c010b3b0 [INFO] running `Command { std: "docker" "start" "-a" "2d126b07d2d29b4720cc954ec0f6a14816f159cc8e937ff76cdedbc5c010b3b0", kill_on_drop: false }` [INFO] [stderr] warning: rust-map-simulation v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling noise v0.8.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling rust-map-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Seedable` [INFO] [stdout] --> src/map/generator.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Resource` [INFO] [stdout] --> src/map/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub use resources::{Resource, ResourceType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile` and `consume_resource` are never used [INFO] [stdout] --> src/map/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn consume_resource(&mut self, x: usize, y: usize) -> Option { [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 `ResourceType` is never used [INFO] [stdout] --> src/map/resources.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ResourceType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/map/resources.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `value`, and `is_consumable` are never used [INFO] [stdout] --> src/map/resources.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ResourceType { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 18 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn value(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_consumable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.56s [INFO] running `Command { std: "docker" "inspect" "2d126b07d2d29b4720cc954ec0f6a14816f159cc8e937ff76cdedbc5c010b3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d126b07d2d29b4720cc954ec0f6a14816f159cc8e937ff76cdedbc5c010b3b0", kill_on_drop: false }` [INFO] [stdout] 2d126b07d2d29b4720cc954ec0f6a14816f159cc8e937ff76cdedbc5c010b3b0