[INFO] updating cached repository https://github.com/ArcDM/class-project-Rust-bag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 565bf99fa7cc98d6e59c011fdeff67b76b1522f8 [INFO] checking ArcDM/class-project-Rust-bag/565bf99fa7cc98d6e59c011fdeff67b76b1522f8 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcDM%2Fclass-project-Rust-bag" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArcDM/class-project-Rust-bag on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArcDM/class-project-Rust-bag [INFO] finished tweaking git repo https://github.com/ArcDM/class-project-Rust-bag [INFO] tweaked toml for git repo https://github.com/ArcDM/class-project-Rust-bag written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArcDM/class-project-Rust-bag 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bbeb3e36e505e682beb4759cd088b52c4e4b4e65c357d8f549ac5af827809e2 [INFO] running `Command { std: "docker" "start" "-a" "6bbeb3e36e505e682beb4759cd088b52c4e4b4e65c357d8f549ac5af827809e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bbeb3e36e505e682beb4759cd088b52c4e4b4e65c357d8f549ac5af827809e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bbeb3e36e505e682beb4759cd088b52c4e4b4e65c357d8f549ac5af827809e2", kill_on_drop: false }` [INFO] [stdout] 6bbeb3e36e505e682beb4759cd088b52c4e4b4e65c357d8f549ac5af827809e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 962e9aafaa929a4502f62b89701a168f375ecaed950a64f76c2eabc786368ead [INFO] running `Command { std: "docker" "start" "-a" "962e9aafaa929a4502f62b89701a168f375ecaed950a64f76c2eabc786368ead", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking len-trait v0.6.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking bag2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/bagtest.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/bagexam.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | test_bag.insert( ( rand::random::() % 50 ) ); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - test_bag.insert( ( rand::random::() % 50 ) ); [INFO] [stdout] 74 + test_bag.insert( rand::random::() % 50 ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/bagexamf64.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | test_bag.insert( ( rand::random::() % 50.0 ) ); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - test_bag.insert( ( rand::random::() % 50.0 ) ); [INFO] [stdout] 73 + test_bag.insert( rand::random::() % 50.0 ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/bagtest.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/bagtest.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | let result: f32 = read_input!().trim_right_matches( '\n' ).parse::().expect( "Error: could not parse f32" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 140 | let result: f32 = read_input!().trim_end_matches( '\n' ).parse::().expect( "Error: could not parse f32" ); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/bagtest.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | let result: f32 = read_input!().trim_right_matches( '\n' ).parse::().expect( "Error: could not parse f32" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 140 | let result: f32 = read_input!().trim_end_matches( '\n' ).parse::().expect( "Error: could not parse f32" ); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "962e9aafaa929a4502f62b89701a168f375ecaed950a64f76c2eabc786368ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962e9aafaa929a4502f62b89701a168f375ecaed950a64f76c2eabc786368ead", kill_on_drop: false }` [INFO] [stdout] 962e9aafaa929a4502f62b89701a168f375ecaed950a64f76c2eabc786368ead