[INFO] cloning 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" "clone" "--bare" "https://github.com/ArcDM/class-project-Rust-bag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcDM%2Fclass-project-Rust-bag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcDM%2Fclass-project-Rust-bag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 565bf99fa7cc98d6e59c011fdeff67b76b1522f8 [INFO] checking ArcDM/class-project-Rust-bag against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcDM%2Fclass-project-Rust-bag" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArcDM/class-project-Rust-bag on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded len-trait v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8359cfbca36a4c61083cf51db495b0f3d4479fb39517346a2e472a96f3082a9 [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" "b8359cfbca36a4c61083cf51db495b0f3d4479fb39517346a2e472a96f3082a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8359cfbca36a4c61083cf51db495b0f3d4479fb39517346a2e472a96f3082a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8359cfbca36a4c61083cf51db495b0f3d4479fb39517346a2e472a96f3082a9", kill_on_drop: false }` [INFO] [stdout] b8359cfbca36a4c61083cf51db495b0f3d4479fb39517346a2e472a96f3082a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66076127d564ca08dda0ec6ce049796fb2336df53cee33544ea7355665cf4a7e [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" "66076127d564ca08dda0ec6ce049796fb2336df53cee33544ea7355665cf4a7e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking cfg-if v0.1.2 [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:5 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/bagtest.rs:40:5 [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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "66076127d564ca08dda0ec6ce049796fb2336df53cee33544ea7355665cf4a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66076127d564ca08dda0ec6ce049796fb2336df53cee33544ea7355665cf4a7e", kill_on_drop: false }` [INFO] [stdout] 66076127d564ca08dda0ec6ce049796fb2336df53cee33544ea7355665cf4a7e