[INFO] cloning repository https://github.com/phudekar/intro-to-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phudekar/intro-to-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e68ff2df772856781f809ec77f0c991175f51329 [INFO] checking phudekar/intro-to-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phudekar/intro-to-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] finished tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] tweaked toml for git repo https://github.com/phudekar/intro-to-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/phudekar/intro-to-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded geoutils v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60455203786ebd3c1d88d69d4ffa58c25dfd19d3940111646dc5e13d856936e6 [INFO] running `Command { std: "docker" "start" "-a" "60455203786ebd3c1d88d69d4ffa58c25dfd19d3940111646dc5e13d856936e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60455203786ebd3c1d88d69d4ffa58c25dfd19d3940111646dc5e13d856936e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60455203786ebd3c1d88d69d4ffa58c25dfd19d3940111646dc5e13d856936e6", kill_on_drop: false }` [INFO] [stdout] 60455203786ebd3c1d88d69d4ffa58c25dfd19d3940111646dc5e13d856936e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bee923c1d48700a1aabb5346799386a3f55b5f18f6b65484c413b8ddcfd3e2fc [INFO] running `Command { std: "docker" "start" "-a" "bee923c1d48700a1aabb5346799386a3f55b5f18f6b65484c413b8ddcfd3e2fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking geoutils v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking intro-to-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/unique_words.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/unique_words.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/ownership.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let mut age = 7; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern_matching.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/ownership.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let mut age = 7; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern_matching.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/complex_types.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Student(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Member` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Student(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/generics.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct UPI { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 28 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `expiry` are never read [INFO] [stdout] --> src/generics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct CreditCard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | expiry: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/library.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pub title: String, [INFO] [stdout] 48 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_with_borrow` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle`, `Square`, and `Triangle` are never constructed [INFO] [stdout] --> src/pattern_matching.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 35 | Circle(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Square(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Rectangle(f64, f64), [INFO] [stdout] 38 | Triangle(f64, f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `route` is never read [INFO] [stdout] --> src/transport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | route: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed [INFO] [stdout] --> src/transport.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum MetroLine { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 35 | Red, [INFO] [stdout] 36 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Gree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/transport.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Metro { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 41 | pub line: MetroLine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unique_words.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/complex_types.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Student(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Member` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Student(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/generics.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct UPI { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 28 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `expiry` are never read [INFO] [stdout] --> src/generics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct CreditCard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | expiry: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/library.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pub title: String, [INFO] [stdout] 48 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_with_borrow` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `route` is never read [INFO] [stdout] --> src/transport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | route: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed [INFO] [stdout] --> src/transport.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum MetroLine { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 35 | Red, [INFO] [stdout] 36 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Gree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/transport.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Metro { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 41 | pub line: MetroLine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unique_words.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "bee923c1d48700a1aabb5346799386a3f55b5f18f6b65484c413b8ddcfd3e2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee923c1d48700a1aabb5346799386a3f55b5f18f6b65484c413b8ddcfd3e2fc", kill_on_drop: false }` [INFO] [stdout] bee923c1d48700a1aabb5346799386a3f55b5f18f6b65484c413b8ddcfd3e2fc [INFO] checking phudekar/intro-to-rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phudekar/intro-to-rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] finished tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] tweaked toml for git repo https://github.com/phudekar/intro-to-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/phudekar/intro-to-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9f03a9fb11543040ac5ab7f7d621170cc18c42cca0ba692cb4d36410a5f18c9 [INFO] running `Command { std: "docker" "start" "-a" "d9f03a9fb11543040ac5ab7f7d621170cc18c42cca0ba692cb4d36410a5f18c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9f03a9fb11543040ac5ab7f7d621170cc18c42cca0ba692cb4d36410a5f18c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f03a9fb11543040ac5ab7f7d621170cc18c42cca0ba692cb4d36410a5f18c9", kill_on_drop: false }` [INFO] [stdout] d9f03a9fb11543040ac5ab7f7d621170cc18c42cca0ba692cb4d36410a5f18c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1dd8103ddbba86fa8dbfd8c96756582b00fffb257ec4851216fe73bc3fcd4ae [INFO] running `Command { std: "docker" "start" "-a" "b1dd8103ddbba86fa8dbfd8c96756582b00fffb257ec4851216fe73bc3fcd4ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking geoutils v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking intro-to-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/unique_words.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/unique_words.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/ownership.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let mut age = 7; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern_matching.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/ownership.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let mut age = 7; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern_matching.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/complex_types.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Student(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Member` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Student(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/generics.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct UPI { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 28 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `expiry` are never read [INFO] [stdout] --> src/generics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct CreditCard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | expiry: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/library.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pub title: String, [INFO] [stdout] 48 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_with_borrow` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle`, `Square`, and `Triangle` are never constructed [INFO] [stdout] --> src/pattern_matching.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 35 | Circle(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Square(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Rectangle(f64, f64), [INFO] [stdout] 38 | Triangle(f64, f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `route` is never read [INFO] [stdout] --> src/transport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | route: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed [INFO] [stdout] --> src/transport.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum MetroLine { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 35 | Red, [INFO] [stdout] 36 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Gree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/transport.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Metro { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 41 | pub line: MetroLine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unique_words.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(t: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | left: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(t: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | right: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/complex_types.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Student(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Member` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Student(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/generics.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct UPI { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 28 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `expiry` are never read [INFO] [stdout] --> src/generics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct CreditCard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | expiry: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/library.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pub title: String, [INFO] [stdout] 48 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_with_borrow` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `route` is never read [INFO] [stdout] --> src/transport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | route: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed [INFO] [stdout] --> src/transport.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum MetroLine { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 35 | Red, [INFO] [stdout] 36 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Gree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/transport.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Metro { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 41 | pub line: MetroLine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unique_words.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(t: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | left: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(t: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | right: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `intro-to-rust` (bin "intro-to-rust") due to 3 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `intro-to-rust` (bin "intro-to-rust" test) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1dd8103ddbba86fa8dbfd8c96756582b00fffb257ec4851216fe73bc3fcd4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1dd8103ddbba86fa8dbfd8c96756582b00fffb257ec4851216fe73bc3fcd4ae", kill_on_drop: false }` [INFO] [stdout] b1dd8103ddbba86fa8dbfd8c96756582b00fffb257ec4851216fe73bc3fcd4ae