[INFO] cloning repository https://github.com/Medsko/study-crate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Medsko/study-crate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d720cff7ef369a2c84eee70d5dfe45285faa9fda [INFO] checking Medsko/study-crate against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Medsko/study-crate on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Medsko/study-crate [INFO] finished tweaking git repo https://github.com/Medsko/study-crate [INFO] tweaked toml for git repo https://github.com/Medsko/study-crate written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Medsko/study-crate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e3394ef59dc367a7f463f8fdcb27c62dd2127ca2296bfbb35f4ac4cbb533988 [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" "9e3394ef59dc367a7f463f8fdcb27c62dd2127ca2296bfbb35f4ac4cbb533988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e3394ef59dc367a7f463f8fdcb27c62dd2127ca2296bfbb35f4ac4cbb533988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3394ef59dc367a7f463f8fdcb27c62dd2127ca2296bfbb35f4ac4cbb533988", kill_on_drop: false }` [INFO] [stdout] 9e3394ef59dc367a7f463f8fdcb27c62dd2127ca2296bfbb35f4ac4cbb533988 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ff66b742b2917730bd0da80149af42c21eb44169c91316196dc8ca7c71f1a9 [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" "57ff66b742b2917730bd0da80149af42c21eb44169c91316196dc8ca7c71f1a9", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking study-crate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `second_user` [INFO] [stdout] --> src/prepackages/structs.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let second_user = User { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/prepackages/structs.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let black = Color(0,0,0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/prepackages/structs.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let origin = Point(0,0,0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/prepackages/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hip` [INFO] [stdout] --> src/prepackages/enums/enums.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let hip = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concise_loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let concise_loopback = ConciseIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concise_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/prepackages/enums/enums.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let home = ConciseIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yet_another_string` [INFO] [stdout] --> src/prepackages/ownership.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let yet_another_string = "Hi".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yet_another_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let another_immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let pointer = &mut yet_another_string; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars` [INFO] [stdout] --> src/prepackages/ownership.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let splice_first_four_chars = &s[0..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars_also` [INFO] [stdout] --> src/prepackages/ownership.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let splice_first_four_chars_also = &s[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars_also` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_chars_from_fourth` [INFO] [stdout] --> src/prepackages/ownership.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let splice_chars_from_fourth = &s[4..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_chars_from_fourth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello_file` [INFO] [stdout] --> src/exceptions.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let hello_file = match File::open("hello.txt") { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/exceptions.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(error) => panic!("Could not read the current directory!") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_user` [INFO] [stdout] --> src/prepackages/structs.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let second_user = User { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/prepackages/structs.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let black = Color(0,0,0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/prepackages/structs.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let origin = Point(0,0,0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/prepackages/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hip` [INFO] [stdout] --> src/prepackages/enums/enums.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let hip = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concise_loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let concise_loopback = ConciseIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concise_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/prepackages/enums/enums.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let home = ConciseIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yet_another_string` [INFO] [stdout] --> src/prepackages/ownership.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let yet_another_string = "Hi".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yet_another_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let another_immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let pointer = &mut yet_another_string; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars` [INFO] [stdout] --> src/prepackages/ownership.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let splice_first_four_chars = &s[0..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars_also` [INFO] [stdout] --> src/prepackages/ownership.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let splice_first_four_chars_also = &s[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars_also` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_chars_from_fourth` [INFO] [stdout] --> src/prepackages/ownership.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let splice_chars_from_fourth = &s[4..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_chars_from_fourth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello_file` [INFO] [stdout] --> src/exceptions.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let hello_file = match File::open("hello.txt") { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/exceptions.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(error) => panic!("Could not read the current directory!") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.34s [INFO] running `Command { std: "docker" "inspect" "57ff66b742b2917730bd0da80149af42c21eb44169c91316196dc8ca7c71f1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ff66b742b2917730bd0da80149af42c21eb44169c91316196dc8ca7c71f1a9", kill_on_drop: false }` [INFO] [stdout] 57ff66b742b2917730bd0da80149af42c21eb44169c91316196dc8ca7c71f1a9