[INFO] cloning repository https://github.com/mkadit/rust_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkadit/rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkadit%2Frust_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkadit%2Frust_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90a6a3ba8c579f6e31c7acc9c70fa1074d3756db [INFO] testing mkadit/rust_test against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkadit%2Frust_test" "/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/mkadit/rust_test 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/mkadit/rust_test [INFO] finished tweaking git repo https://github.com/mkadit/rust_test [INFO] tweaked toml for git repo https://github.com/mkadit/rust_test written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mkadit/rust_test 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] a4caabef5e543c325b14f6801881310f65a0bf686f8bfc03b387f6769e81fdb8 [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" "a4caabef5e543c325b14f6801881310f65a0bf686f8bfc03b387f6769e81fdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4caabef5e543c325b14f6801881310f65a0bf686f8bfc03b387f6769e81fdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4caabef5e543c325b14f6801881310f65a0bf686f8bfc03b387f6769e81fdb8", kill_on_drop: false }` [INFO] [stdout] a4caabef5e543c325b14f6801881310f65a0bf686f8bfc03b387f6769e81fdb8 [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] 0a0c5f0049759920b73e97cf37df1c8621557d2861f2741db93d1fb8042ee487 [INFO] running `Command { std: "docker" "start" "-a" "0a0c5f0049759920b73e97cf37df1c8621557d2861f2741db93d1fb8042ee487", kill_on_drop: false }` [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.15 [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 first_new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/Java_Rework/lab2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/Java_Rework/lab2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/Java_Rework/tp2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Java_Rework/lab2.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut y = string_to_node(x); [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: field is never read: `head` [INFO] [stdout] --> src/linked_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | head: Link, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LinkedList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[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/linked_list.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/linked_list.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: `More` [INFO] [stdout] --> src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | More(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: `elem` [INFO] [stdout] --> src/linked_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | elem: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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: `next` [INFO] [stdout] --> src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | next: Link, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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: enum is never used: `Link` [INFO] [stdout] --> src/Java_Rework/lab2.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_curr` [INFO] [stdout] --> src/Java_Rework/lab2.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_curr(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `distance` [INFO] [stdout] --> src/Java_Rework/tp2.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | distance: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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: `routes` [INFO] [stdout] --> src/Java_Rework/tp2.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | routes: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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: `shortest_path` [INFO] [stdout] --> src/Java_Rework/tp2.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | shortest_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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: `road` [INFO] [stdout] --> src/Java_Rework/tp2.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | road: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: `coupon` [INFO] [stdout] --> src/Java_Rework/tp2.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | coupon: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: `time` [INFO] [stdout] --> src/Java_Rework/tp2.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | time: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.40s [INFO] running `Command { std: "docker" "inspect" "0a0c5f0049759920b73e97cf37df1c8621557d2861f2741db93d1fb8042ee487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0c5f0049759920b73e97cf37df1c8621557d2861f2741db93d1fb8042ee487", kill_on_drop: false }` [INFO] [stdout] 0a0c5f0049759920b73e97cf37df1c8621557d2861f2741db93d1fb8042ee487 [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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9c0006a68ac0273be6d709f39cd7d6718cf7c8dc1363986f40a57a813cf7e037 [INFO] running `Command { std: "docker" "start" "-a" "9c0006a68ac0273be6d709f39cd7d6718cf7c8dc1363986f40a57a813cf7e037", kill_on_drop: false }` [INFO] [stderr] Compiling first_new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/Java_Rework/lab2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/Java_Rework/lab2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/Java_Rework/tp2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Java_Rework/lab2.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut y = string_to_node(x); [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: field is never read: `head` [INFO] [stdout] --> src/linked_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | head: Link, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LinkedList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[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/linked_list.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/linked_list.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: `More` [INFO] [stdout] --> src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | More(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: `elem` [INFO] [stdout] --> src/linked_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | elem: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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: `next` [INFO] [stdout] --> src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | next: Link, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/linked_list.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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: enum is never used: `Link` [INFO] [stdout] --> src/Java_Rework/lab2.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_curr` [INFO] [stdout] --> src/Java_Rework/lab2.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_curr(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `distance` [INFO] [stdout] --> src/Java_Rework/tp2.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | distance: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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: `routes` [INFO] [stdout] --> src/Java_Rework/tp2.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | routes: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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: `shortest_path` [INFO] [stdout] --> src/Java_Rework/tp2.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | shortest_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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: `road` [INFO] [stdout] --> src/Java_Rework/tp2.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | road: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: `coupon` [INFO] [stdout] --> src/Java_Rework/tp2.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | coupon: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: `time` [INFO] [stdout] --> src/Java_Rework/tp2.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | time: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "9c0006a68ac0273be6d709f39cd7d6718cf7c8dc1363986f40a57a813cf7e037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0006a68ac0273be6d709f39cd7d6718cf7c8dc1363986f40a57a813cf7e037", kill_on_drop: false }` [INFO] [stdout] 9c0006a68ac0273be6d709f39cd7d6718cf7c8dc1363986f40a57a813cf7e037 [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] f601a7e3197bd63f7255ec5e4fdc2c33c2faa5722704c1c82532e618a5322a30 [INFO] running `Command { std: "docker" "start" "-a" "f601a7e3197bd63f7255ec5e4fdc2c33c2faa5722704c1c82532e618a5322a30", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/Java_Rework/lab2.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `text_io::read` [INFO] [stderr] --> src/Java_Rework/lab2.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use text_io::read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `text_io::read` [INFO] [stderr] --> src/Java_Rework/tp2.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use text_io::read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/Java_Rework/lab2.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let mut y = string_to_node(x); [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: field is never read: `head` [INFO] [stderr] --> src/linked_list.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | head: Link, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `LinkedList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/linked_list.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[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/linked_list.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Empty` [INFO] [stderr] --> src/linked_list.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Empty, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/linked_list.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[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: `More` [INFO] [stderr] --> src/linked_list.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | More(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/linked_list.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[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: `elem` [INFO] [stderr] --> src/linked_list.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | elem: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/linked_list.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[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: `next` [INFO] [stderr] --> src/linked_list.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | next: Link, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/linked_list.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[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: enum is never used: `Link` [INFO] [stderr] --> src/Java_Rework/lab2.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | enum Link { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_curr` [INFO] [stderr] --> src/Java_Rework/lab2.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | fn remove_curr(&mut self) {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `distance` [INFO] [stderr] --> src/Java_Rework/tp2.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | distance: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[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: `routes` [INFO] [stderr] --> src/Java_Rework/tp2.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | routes: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[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: `shortest_path` [INFO] [stderr] --> src/Java_Rework/tp2.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | shortest_path: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Java_Rework/tp2.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[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: `road` [INFO] [stderr] --> src/Java_Rework/tp2.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | road: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[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: `coupon` [INFO] [stderr] --> src/Java_Rework/tp2.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | coupon: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[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: `time` [INFO] [stderr] --> src/Java_Rework/tp2.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | time: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Road` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Java_Rework/tp2.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[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: `first_new` (bin "first_new" test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/first_new-d4043c273c922809) [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" "f601a7e3197bd63f7255ec5e4fdc2c33c2faa5722704c1c82532e618a5322a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f601a7e3197bd63f7255ec5e4fdc2c33c2faa5722704c1c82532e618a5322a30", kill_on_drop: false }` [INFO] [stdout] f601a7e3197bd63f7255ec5e4fdc2c33c2faa5722704c1c82532e618a5322a30