[INFO] cloning repository https://github.com/upenn-cis198-2018f/lecture7 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upenn-cis198-2018f/lecture7" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture7", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture7'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80ae528176dbb3977613343c752420486c8dccd9 [INFO] checking upenn-cis198-2018f/lecture7 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture7" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/upenn-cis198-2018f/lecture7 [INFO] finished tweaking git repo https://github.com/upenn-cis198-2018f/lecture7 [INFO] tweaked toml for git repo https://github.com/upenn-cis198-2018f/lecture7 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/upenn-cis198-2018f/lecture7 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/upenn-cis198-2018f/lecture7 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `lecture7` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5144260a7be76eb66b9b7adb70dbf38f6f0b6717d0294ab513d822f0a046e9f [INFO] running `Command { std: "docker" "start" "-a" "c5144260a7be76eb66b9b7adb70dbf38f6f0b6717d0294ab513d822f0a046e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5144260a7be76eb66b9b7adb70dbf38f6f0b6717d0294ab513d822f0a046e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5144260a7be76eb66b9b7adb70dbf38f6f0b6717d0294ab513d822f0a046e9f", kill_on_drop: false }` [INFO] [stdout] c5144260a7be76eb66b9b7adb70dbf38f6f0b6717d0294ab513d822f0a046e9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 554c5452ff113d6498d65d3d487921b2add799307d06f81e9ef2d76f4147a95f [INFO] running `Command { std: "docker" "start" "-a" "554c5452ff113d6498d65d3d487921b2add799307d06f81e9ef2d76f4147a95f", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `lecture7` (manifest) generated 1 warning [INFO] [stderr] Checking lecture7 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `SongUserProfile` is never constructed [INFO] [stdout] --> src/iterators.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct SongUserProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SongIterator` is never constructed [INFO] [stdout] --> src/iterators.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct SongIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/iterators.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SongName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SongName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `disliked_songs`, `listens`, and `days_active` are never read [INFO] [stdout] --> src/iterators.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct SongUserProfile { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 247 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 248 | liked_songs: Vec, [INFO] [stdout] 249 | disliked_songs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 250 | listens: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 251 | days_active: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_iter(&self) -> SongIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_iter(&self) -> SongIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lecture7` (bin "lecture7") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lecture7` (bin "lecture7" test) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] error: struct `SongUserProfile` is never constructed [INFO] [stdout] --> src/iterators.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct SongUserProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SongIterator` is never constructed [INFO] [stdout] --> src/iterators.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct SongIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/iterators.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SongName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SongName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `disliked_songs`, `listens`, and `days_active` are never read [INFO] [stdout] --> src/iterators.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct SongUserProfile { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 247 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 248 | liked_songs: Vec, [INFO] [stdout] 249 | disliked_songs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 250 | listens: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 251 | days_active: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_iter(&self) -> SongIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_iter(&self) -> SongIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "554c5452ff113d6498d65d3d487921b2add799307d06f81e9ef2d76f4147a95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554c5452ff113d6498d65d3d487921b2add799307d06f81e9ef2d76f4147a95f", kill_on_drop: false }` [INFO] [stdout] 554c5452ff113d6498d65d3d487921b2add799307d06f81e9ef2d76f4147a95f