[INFO] cloning repository https://github.com/TorsteinTenstad/town_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TorsteinTenstad/town_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorsteinTenstad%2Ftown_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorsteinTenstad%2Ftown_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69cfabf9b8d6308f0e9a825572554ca96523fc82 [INFO] building TorsteinTenstad/town_sim against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorsteinTenstad%2Ftown_sim" "/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/TorsteinTenstad/town_sim [INFO] finished tweaking git repo https://github.com/TorsteinTenstad/town_sim [INFO] tweaked toml for git repo https://github.com/TorsteinTenstad/town_sim written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TorsteinTenstad/town_sim on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TorsteinTenstad/town_sim 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded num_cpus v1.12.0 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded png v0.16.1 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded piston2d-graphics v0.36.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded hermit-abi v0.1.8 [INFO] [stderr] Downloaded backtrace v0.3.46 [INFO] [stderr] Downloaded deflate v0.8.3 [INFO] [stderr] Downloaded image v0.23.2 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7735dfae25745448d82843a0dea48cf2e199fd939677872a67731cf728771825 [INFO] running `Command { std: "docker" "start" "-a" "7735dfae25745448d82843a0dea48cf2e199fd939677872a67731cf728771825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7735dfae25745448d82843a0dea48cf2e199fd939677872a67731cf728771825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7735dfae25745448d82843a0dea48cf2e199fd939677872a67731cf728771825", kill_on_drop: false }` [INFO] [stdout] 7735dfae25745448d82843a0dea48cf2e199fd939677872a67731cf728771825 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36b98f68040f13048e0231461d92221d5e95f90fb012a79c29b6e7f29b041cee [INFO] running `Command { std: "docker" "start" "-a" "36b98f68040f13048e0231461d92221d5e95f90fb012a79c29b6e7f29b041cee", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling deflate v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling png v0.16.1 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling image v0.23.2 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling sim_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/person.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 73 | _time: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VIRUS_FATILITY` [INFO] [stdout] | [INFO] [stdout] 73 - time: f64, [INFO] [stdout] 73 + config::VIRUS_FATILITY: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/person.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut new_pos = self.get_latest_pos() [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/town.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut person = Person::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> src/entity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ShapeType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keep_pos_inside_wander_space` is never used [INFO] [stdout] --> src/person.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn keep_pos_inside_wander_space(&self, pos: &mut Vec2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ang` is never used [INFO] [stdout] --> src/vec2D.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Vec2D { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn ang(self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `vec2D` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mod vec2D; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `vec2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.21s [INFO] running `Command { std: "docker" "inspect" "36b98f68040f13048e0231461d92221d5e95f90fb012a79c29b6e7f29b041cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b98f68040f13048e0231461d92221d5e95f90fb012a79c29b6e7f29b041cee", kill_on_drop: false }` [INFO] [stdout] 36b98f68040f13048e0231461d92221d5e95f90fb012a79c29b6e7f29b041cee [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a35216baac4fc47f9e03bbda9cbfa629c7c07b4d755561c5420d5141d826c18 [INFO] running `Command { std: "docker" "start" "-a" "8a35216baac4fc47f9e03bbda9cbfa629c7c07b4d755561c5420d5141d826c18", kill_on_drop: false }` [INFO] [stderr] Compiling sim_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/person.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 73 | _time: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VIRUS_FATILITY` [INFO] [stdout] | [INFO] [stdout] 73 - time: f64, [INFO] [stdout] 73 + config::VIRUS_FATILITY: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/person.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut new_pos = self.get_latest_pos() [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/town.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut person = Person::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> src/entity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ShapeType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keep_pos_inside_wander_space` is never used [INFO] [stdout] --> src/person.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn keep_pos_inside_wander_space(&self, pos: &mut Vec2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ang` is never used [INFO] [stdout] --> src/vec2D.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Vec2D { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn ang(self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `vec2D` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mod vec2D; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `vec2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "8a35216baac4fc47f9e03bbda9cbfa629c7c07b4d755561c5420d5141d826c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a35216baac4fc47f9e03bbda9cbfa629c7c07b4d755561c5420d5141d826c18", kill_on_drop: false }` [INFO] [stdout] 8a35216baac4fc47f9e03bbda9cbfa629c7c07b4d755561c5420d5141d826c18