[INFO] cloning repository https://github.com/alpaylan/pap-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alpaylan/pap-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpaylan%2Fpap-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpaylan%2Fpap-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efd039168f308a7652b3ffe0a4bd98cb990d1392 [INFO] testing alpaylan/pap-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpaylan%2Fpap-rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alpaylan/pap-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alpaylan/pap-rs [INFO] finished tweaking git repo https://github.com/alpaylan/pap-rs [INFO] tweaked toml for git repo https://github.com/alpaylan/pap-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/alpaylan/pap-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46044536b6b5e1ba274d928fd74e48c0310bf44628e5add035a78e95133977ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46044536b6b5e1ba274d928fd74e48c0310bf44628e5add035a78e95133977ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46044536b6b5e1ba274d928fd74e48c0310bf44628e5add035a78e95133977ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46044536b6b5e1ba274d928fd74e48c0310bf44628e5add035a78e95133977ae", kill_on_drop: false }` [INFO] [stdout] 46044536b6b5e1ba274d928fd74e48c0310bf44628e5add035a78e95133977ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48f7058a70924ad98a767d667784ce96cf77e07450c527262aff69a02cfebfb4 [INFO] running `Command { std: "docker" "start" "-a" "48f7058a70924ad98a767d667784ce96cf77e07450c527262aff69a02cfebfb4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling deneme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 156 | let tile_type: Tile = match city_type { [INFO] [stdout] | _______________________________- [INFO] [stdout] 157 | | CityType::Default => { [INFO] [stdout] 158 | | let unit = (b_size+4) as i64; [INFO] [stdout] 159 | | let unit_y = i as i64 % unit as i64 - b_size as i64; [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 258 | return tile_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_type` [INFO] [stdout] --> src/main.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let tile_type: Tile = match city_type { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_num_x` [INFO] [stdout] --> src/main.rs:294:48 [INFO] [stdout] | [INFO] [stdout] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_num_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_num_y` [INFO] [stdout] --> src/main.rs:294:62 [INFO] [stdout] | [INFO] [stdout] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_num_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_size` [INFO] [stdout] --> src/main.rs:294:76 [INFO] [stdout] | [INFO] [stdout] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | let mut sim = Simulation::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Full` [INFO] [stdout] --> src/main.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | enum ParkType { Free, Full } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParkType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Copy, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/main.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | enum LightCond { Green, Red } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `LightCond` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Copy, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_num_x` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | b_num_x: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_num_y` [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | b_num_y: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_size` [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | b_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bordered` [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | Bordered, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CityType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Line` [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | Line [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CityType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t` [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | t: CityType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `layout` [INFO] [stdout] --> src/main.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buildings` [INFO] [stdout] --> src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | buildings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exit` [INFO] [stdout] --> src/main.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | Exit(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 360 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JustPosition` [INFO] [stdout] --> src/main.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | JustPosition(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 360 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Searching` [INFO] [stdout] --> src/main.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | Searching, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Circling` [INFO] [stdout] --> src/main.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | Circling(Position, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Found` [INFO] [stdout] --> src/main.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | Found(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Moving` [INFO] [stdout] --> src/main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | Moving, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parking` [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | Parking(ParkingType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parked` [INFO] [stdout] --> src/main.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | Parked [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quite` [INFO] [stdout] --> src/main.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | Quite [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SimulationMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 472 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `epoch` [INFO] [stdout] --> src/main.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | epoch: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cars` [INFO] [stdout] --> src/main.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | cars: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> src/main.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | mode: SimulationMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seed` [INFO] [stdout] --> src/main.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | seed: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_building` [INFO] [stdout] --> src/main.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn random_building(city: &City) -> TargetType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | write!(f, "{}\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:370:34 [INFO] [stdout] | [INFO] [stdout] 370 | TargetType::Building(Position) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:373:30 [INFO] [stdout] | [INFO] [stdout] 373 | TargetType::Exit(Position) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:376:38 [INFO] [stdout] | [INFO] [stdout] 376 | TargetType::JustPosition(Position) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ParkingType` should have a snake case name [INFO] [stdout] --> src/main.rs:423:31 [INFO] [stdout] | [INFO] [stdout] 423 | CarState::Parking(ParkingType) => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.35s [INFO] running `Command { std: "docker" "inspect" "48f7058a70924ad98a767d667784ce96cf77e07450c527262aff69a02cfebfb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f7058a70924ad98a767d667784ce96cf77e07450c527262aff69a02cfebfb4", kill_on_drop: false }` [INFO] [stdout] 48f7058a70924ad98a767d667784ce96cf77e07450c527262aff69a02cfebfb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358498f1e54be593ba5d91a35fc909f4b8ee993b5ff09f2c4aaaba8c86c16773 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "358498f1e54be593ba5d91a35fc909f4b8ee993b5ff09f2c4aaaba8c86c16773", kill_on_drop: false }` [INFO] [stderr] Compiling deneme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 156 | let tile_type: Tile = match city_type { [INFO] [stdout] | _______________________________- [INFO] [stdout] 157 | | CityType::Default => { [INFO] [stdout] 158 | | let unit = (b_size+4) as i64; [INFO] [stdout] 159 | | let unit_y = i as i64 % unit as i64 - b_size as i64; [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 258 | return tile_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_type` [INFO] [stdout] --> src/main.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let tile_type: Tile = match city_type { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_num_x` [INFO] [stdout] --> src/main.rs:294:48 [INFO] [stdout] | [INFO] [stdout] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_num_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_num_y` [INFO] [stdout] --> src/main.rs:294:62 [INFO] [stdout] | [INFO] [stdout] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_num_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_size` [INFO] [stdout] --> src/main.rs:294:76 [INFO] [stdout] | [INFO] [stdout] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | let mut sim = Simulation::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Full` [INFO] [stdout] --> src/main.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | enum ParkType { Free, Full } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParkType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Copy, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/main.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | enum LightCond { Green, Red } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `LightCond` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Copy, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_num_x` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | b_num_x: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_num_y` [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | b_num_y: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b_size` [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | b_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bordered` [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | Bordered, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CityType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Line` [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | Line [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CityType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t` [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | t: CityType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `layout` [INFO] [stdout] --> src/main.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buildings` [INFO] [stdout] --> src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | buildings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exit` [INFO] [stdout] --> src/main.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | Exit(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 360 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JustPosition` [INFO] [stdout] --> src/main.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | JustPosition(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 360 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Searching` [INFO] [stdout] --> src/main.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | Searching, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Circling` [INFO] [stdout] --> src/main.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | Circling(Position, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Found` [INFO] [stdout] --> src/main.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | Found(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Moving` [INFO] [stdout] --> src/main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | Moving, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parking` [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | Parking(ParkingType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parked` [INFO] [stdout] --> src/main.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | Parked [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quite` [INFO] [stdout] --> src/main.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | Quite [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SimulationMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 472 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `epoch` [INFO] [stdout] --> src/main.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | epoch: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cars` [INFO] [stdout] --> src/main.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | cars: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> src/main.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | mode: SimulationMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seed` [INFO] [stdout] --> src/main.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | seed: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_building` [INFO] [stdout] --> src/main.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn random_building(city: &City) -> TargetType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | write!(f, "{}\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:370:34 [INFO] [stdout] | [INFO] [stdout] 370 | TargetType::Building(Position) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:373:30 [INFO] [stdout] | [INFO] [stdout] 373 | TargetType::Exit(Position) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Position` should have a snake case name [INFO] [stdout] --> src/main.rs:376:38 [INFO] [stdout] | [INFO] [stdout] 376 | TargetType::JustPosition(Position) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ParkingType` should have a snake case name [INFO] [stdout] --> src/main.rs:423:31 [INFO] [stdout] | [INFO] [stdout] 423 | CarState::Parking(ParkingType) => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "358498f1e54be593ba5d91a35fc909f4b8ee993b5ff09f2c4aaaba8c86c16773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358498f1e54be593ba5d91a35fc909f4b8ee993b5ff09f2c4aaaba8c86c16773", kill_on_drop: false }` [INFO] [stdout] 358498f1e54be593ba5d91a35fc909f4b8ee993b5ff09f2c4aaaba8c86c16773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2a1aa85914736a21c149d0702cdb9b7cf7d61c4fb57bdebe7d5cadea1a7d909 [INFO] running `Command { std: "docker" "start" "-a" "a2a1aa85914736a21c149d0702cdb9b7cf7d61c4fb57bdebe7d5cadea1a7d909", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 156 | let tile_type: Tile = match city_type { [INFO] [stderr] | _______________________________- [INFO] [stderr] 157 | | CityType::Default => { [INFO] [stderr] 158 | | let unit = (b_size+4) as i64; [INFO] [stderr] 159 | | let unit_y = i as i64 % unit as i64 - b_size as i64; [INFO] [stderr] ... | [INFO] [stderr] 256 | | } [INFO] [stderr] 257 | | }; [INFO] [stderr] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 258 | return tile_type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:254:13 [INFO] [stderr] | [INFO] [stderr] 254 | _ => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tile_type` [INFO] [stderr] --> src/main.rs:156:13 [INFO] [stderr] | [INFO] [stderr] 156 | let tile_type: Tile = match city_type { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_num_x` [INFO] [stderr] --> src/main.rs:294:48 [INFO] [stderr] | [INFO] [stderr] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_num_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_num_y` [INFO] [stderr] --> src/main.rs:294:62 [INFO] [stderr] | [INFO] [stderr] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_num_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_size` [INFO] [stderr] --> src/main.rs:294:76 [INFO] [stderr] | [INFO] [stderr] 294 | fn building_positions(city_type: CityType, b_num_x: u32, b_num_y: u32, b_size: u32) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_size` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:531:9 [INFO] [stderr] | [INFO] [stderr] 531 | let mut sim = Simulation::new( [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Full` [INFO] [stderr] --> src/main.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | enum ParkType { Free, Full } [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ParkType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Clone, Copy, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Red` [INFO] [stderr] --> src/main.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | enum LightCond { Green, Red } [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `LightCond` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Copy, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `b_num_x` [INFO] [stderr] --> src/main.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | b_num_x: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `b_num_y` [INFO] [stderr] --> src/main.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | b_num_y: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `b_size` [INFO] [stderr] --> src/main.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | b_size: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bordered` [INFO] [stderr] --> src/main.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | Bordered, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CityType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:122:10 [INFO] [stderr] | [INFO] [stderr] 122 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 123 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Line` [INFO] [stderr] --> src/main.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | Line [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CityType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:122:10 [INFO] [stderr] | [INFO] [stderr] 122 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 123 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `t` [INFO] [stderr] --> src/main.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 132 | t: CityType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:129:10 [INFO] [stderr] | [INFO] [stderr] 129 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `layout` [INFO] [stderr] --> src/main.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | layout: Layout, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:129:10 [INFO] [stderr] | [INFO] [stderr] 129 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buildings` [INFO] [stderr] --> src/main.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | buildings: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `City` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:129:10 [INFO] [stderr] | [INFO] [stderr] 129 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Exit` [INFO] [stderr] --> src/main.rs:363:5 [INFO] [stderr] | [INFO] [stderr] 363 | Exit(Position), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TargetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:359:10 [INFO] [stderr] | [INFO] [stderr] 359 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 360 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JustPosition` [INFO] [stderr] --> src/main.rs:364:5 [INFO] [stderr] | [INFO] [stderr] 364 | JustPosition(Position), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TargetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:359:10 [INFO] [stderr] | [INFO] [stderr] 359 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 360 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Searching` [INFO] [stderr] --> src/main.rs:386:5 [INFO] [stderr] | [INFO] [stderr] 386 | Searching, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:384:10 [INFO] [stderr] | [INFO] [stderr] 384 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Circling` [INFO] [stderr] --> src/main.rs:387:5 [INFO] [stderr] | [INFO] [stderr] 387 | Circling(Position, u32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:384:10 [INFO] [stderr] | [INFO] [stderr] 384 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Found` [INFO] [stderr] --> src/main.rs:388:5 [INFO] [stderr] | [INFO] [stderr] 388 | Found(Position), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParkingType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:384:10 [INFO] [stderr] | [INFO] [stderr] 384 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Moving` [INFO] [stderr] --> src/main.rs:409:5 [INFO] [stderr] | [INFO] [stderr] 409 | Moving, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:406:10 [INFO] [stderr] | [INFO] [stderr] 406 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Parking` [INFO] [stderr] --> src/main.rs:410:5 [INFO] [stderr] | [INFO] [stderr] 410 | Parking(ParkingType), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:406:10 [INFO] [stderr] | [INFO] [stderr] 406 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Parked` [INFO] [stderr] --> src/main.rs:411:5 [INFO] [stderr] | [INFO] [stderr] 411 | Parked [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CarState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:406:10 [INFO] [stderr] | [INFO] [stderr] 406 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:442:12 [INFO] [stderr] | [INFO] [stderr] 442 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Quite` [INFO] [stderr] --> src/main.rs:475:5 [INFO] [stderr] | [INFO] [stderr] 475 | Quite [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SimulationMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:472:10 [INFO] [stderr] | [INFO] [stderr] 472 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `epoch` [INFO] [stderr] --> src/main.rs:480:5 [INFO] [stderr] | [INFO] [stderr] 480 | epoch: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:477:10 [INFO] [stderr] | [INFO] [stderr] 477 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cars` [INFO] [stderr] --> src/main.rs:481:5 [INFO] [stderr] | [INFO] [stderr] 481 | cars: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:477:10 [INFO] [stderr] | [INFO] [stderr] 477 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mode` [INFO] [stderr] --> src/main.rs:482:5 [INFO] [stderr] | [INFO] [stderr] 482 | mode: SimulationMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:477:10 [INFO] [stderr] | [INFO] [stderr] 477 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `seed` [INFO] [stderr] --> src/main.rs:483:5 [INFO] [stderr] | [INFO] [stderr] 483 | seed: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Simulation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:477:10 [INFO] [stderr] | [INFO] [stderr] 477 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `random_building` [INFO] [stderr] --> src/main.rs:491:12 [INFO] [stderr] | [INFO] [stderr] 491 | pub fn random_building(city: &City) -> TargetType { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | write!(f, "{}\n", ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `Position` should have a snake case name [INFO] [stderr] --> src/main.rs:370:34 [INFO] [stderr] | [INFO] [stderr] 370 | TargetType::Building(Position) => { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `Position` should have a snake case name [INFO] [stderr] --> src/main.rs:373:30 [INFO] [stderr] | [INFO] [stderr] 373 | TargetType::Exit(Position) => { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stderr] [INFO] [stderr] warning: variable `Position` should have a snake case name [INFO] [stderr] --> src/main.rs:376:38 [INFO] [stderr] | [INFO] [stderr] 376 | TargetType::JustPosition(Position) => { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `position` [INFO] [stderr] [INFO] [stderr] warning: variable `ParkingType` should have a snake case name [INFO] [stderr] --> src/main.rs:423:31 [INFO] [stderr] | [INFO] [stderr] 423 | CarState::Parking(ParkingType) => { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_type` [INFO] [stderr] [INFO] [stderr] warning: `deneme` (bin "deneme" test) generated 37 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/deneme-53103104ec09157c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2a1aa85914736a21c149d0702cdb9b7cf7d61c4fb57bdebe7d5cadea1a7d909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a1aa85914736a21c149d0702cdb9b7cf7d61c4fb57bdebe7d5cadea1a7d909", kill_on_drop: false }` [INFO] [stdout] a2a1aa85914736a21c149d0702cdb9b7cf7d61c4fb57bdebe7d5cadea1a7d909