[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] testing upenn-cis198-2018f/lecture7 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture7" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upenn-cis198-2018f/lecture7 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/upenn-cis198-2018f/lecture7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", 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] 839e5d8780c21c0b8c5884f9bde4083afa1fcfd29dfdd343ae1858798ab4ed61 [INFO] running `Command { std: "docker" "start" "-a" "839e5d8780c21c0b8c5884f9bde4083afa1fcfd29dfdd343ae1858798ab4ed61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839e5d8780c21c0b8c5884f9bde4083afa1fcfd29dfdd343ae1858798ab4ed61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839e5d8780c21c0b8c5884f9bde4083afa1fcfd29dfdd343ae1858798ab4ed61", kill_on_drop: false }` [INFO] [stdout] 839e5d8780c21c0b8c5884f9bde4083afa1fcfd29dfdd343ae1858798ab4ed61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21af6c27cfbafc0cd9618bca6c220612e04b02d93b70f5e059b059dfd573df17 [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" "21af6c27cfbafc0cd9618bca6c220612e04b02d93b70f5e059b059dfd573df17", kill_on_drop: false }` [INFO] [stderr] Compiling lecture7 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/iterators.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: `disliked_songs` [INFO] [stdout] --> src/iterators.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | disliked_songs: Vec, [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] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: `listens` [INFO] [stdout] --> src/iterators.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | listens: 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] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: `days_active` [INFO] [stdout] --> src/iterators.rs:251:5 [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] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "21af6c27cfbafc0cd9618bca6c220612e04b02d93b70f5e059b059dfd573df17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21af6c27cfbafc0cd9618bca6c220612e04b02d93b70f5e059b059dfd573df17", kill_on_drop: false }` [INFO] [stdout] 21af6c27cfbafc0cd9618bca6c220612e04b02d93b70f5e059b059dfd573df17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "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] c2f6898ede98b8b2f9d38768d40cf1c914ae63e4e1410de23051ab10cede88e6 [INFO] running `Command { std: "docker" "start" "-a" "c2f6898ede98b8b2f9d38768d40cf1c914ae63e4e1410de23051ab10cede88e6", kill_on_drop: false }` [INFO] [stderr] Compiling lecture7 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/iterators.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: `disliked_songs` [INFO] [stdout] --> src/iterators.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | disliked_songs: Vec, [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] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: `listens` [INFO] [stdout] --> src/iterators.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | listens: 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] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: `days_active` [INFO] [stdout] --> src/iterators.rs:251:5 [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] --> src/iterators.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "c2f6898ede98b8b2f9d38768d40cf1c914ae63e4e1410de23051ab10cede88e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f6898ede98b8b2f9d38768d40cf1c914ae63e4e1410de23051ab10cede88e6", kill_on_drop: false }` [INFO] [stdout] c2f6898ede98b8b2f9d38768d40cf1c914ae63e4e1410de23051ab10cede88e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f294a23f8cdc1f38b631302bef46a2d72c20ef89b3865b431750bfee8e5e8b7 [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" "1f294a23f8cdc1f38b631302bef46a2d72c20ef89b3865b431750bfee8e5e8b7", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/iterators.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/iterators.rs:245:10 [INFO] [stderr] | [INFO] [stderr] 245 | #[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: `disliked_songs` [INFO] [stderr] --> src/iterators.rs:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | disliked_songs: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/iterators.rs:245:10 [INFO] [stderr] | [INFO] [stderr] 245 | #[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: `listens` [INFO] [stderr] --> src/iterators.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | listens: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/iterators.rs:245:10 [INFO] [stderr] | [INFO] [stderr] 245 | #[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: `days_active` [INFO] [stderr] --> src/iterators.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | days_active: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SongUserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/iterators.rs:245:10 [INFO] [stderr] | [INFO] [stderr] 245 | #[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: `lecture7` (bin "lecture7" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lecture7-649b212d5497b00d) [INFO] [stdout] test iterators::example_iter_explicit2 ... ok [INFO] [stdout] test closures::test_example_do_all_fixed ... ok [INFO] [stdout] test iterators::test_all_below ... ok [INFO] [stdout] test closures::test_use_fn ... ok [INFO] [stdout] test iterators::example_iter_mut ... ok [INFO] [stdout] test iterators::test_sum_squares_lt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f294a23f8cdc1f38b631302bef46a2d72c20ef89b3865b431750bfee8e5e8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f294a23f8cdc1f38b631302bef46a2d72c20ef89b3865b431750bfee8e5e8b7", kill_on_drop: false }` [INFO] [stdout] 1f294a23f8cdc1f38b631302bef46a2d72c20ef89b3865b431750bfee8e5e8b7