[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Medsko/study-crate on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-6/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699add1e25cc4c208d699294979fc42a5bc58930ba704162faa8e24fbcf36d1f [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" "699add1e25cc4c208d699294979fc42a5bc58930ba704162faa8e24fbcf36d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699add1e25cc4c208d699294979fc42a5bc58930ba704162faa8e24fbcf36d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699add1e25cc4c208d699294979fc42a5bc58930ba704162faa8e24fbcf36d1f", kill_on_drop: false }` [INFO] [stdout] 699add1e25cc4c208d699294979fc42a5bc58930ba704162faa8e24fbcf36d1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29a70d83dcd10d130bf46bf744b8fdc626a7f5c592c8870ab6d0c4939019e1b6 [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" "29a70d83dcd10d130bf46bf744b8fdc626a7f5c592c8870ab6d0c4939019e1b6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [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: 18 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `Command { std: "docker" "inspect" "29a70d83dcd10d130bf46bf744b8fdc626a7f5c592c8870ab6d0c4939019e1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a70d83dcd10d130bf46bf744b8fdc626a7f5c592c8870ab6d0c4939019e1b6", kill_on_drop: false }` [INFO] [stdout] 29a70d83dcd10d130bf46bf744b8fdc626a7f5c592c8870ab6d0c4939019e1b6