[INFO] cloning repository https://github.com/f-ctt/The-Senate-Bus-Problem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/f-ctt/The-Senate-Bus-Problem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff-ctt%2FThe-Senate-Bus-Problem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff-ctt%2FThe-Senate-Bus-Problem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73f2d917655d01fded8b572ae6a73678d3165755 [INFO] checking f-ctt/The-Senate-Bus-Problem against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff-ctt%2FThe-Senate-Bus-Problem" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/f-ctt/The-Senate-Bus-Problem on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/f-ctt/The-Senate-Bus-Problem [INFO] finished tweaking git repo https://github.com/f-ctt/The-Senate-Bus-Problem [INFO] tweaked toml for git repo https://github.com/f-ctt/The-Senate-Bus-Problem written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/f-ctt/The-Senate-Bus-Problem already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.2.0-pre.0 [INFO] [stderr] Downloaded rand v0.5.0-pre.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8e996704668ee6b0e8a26c56c4ac94861d590f991eeb6dbd1e99f5a8102143 [INFO] running `Command { std: "docker" "start" "-a" "8e8e996704668ee6b0e8a26c56c4ac94861d590f991eeb6dbd1e99f5a8102143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8e996704668ee6b0e8a26c56c4ac94861d590f991eeb6dbd1e99f5a8102143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8e996704668ee6b0e8a26c56c4ac94861d590f991eeb6dbd1e99f5a8102143", kill_on_drop: false }` [INFO] [stdout] 8e8e996704668ee6b0e8a26c56c4ac94861d590f991eeb6dbd1e99f5a8102143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 245b923d581f1d66e0993871a6f23d9d349c17d2d484a052e99a17f110bdb588 [INFO] running `Command { std: "docker" "start" "-a" "245b923d581f1d66e0993871a6f23d9d349c17d2d484a052e99a17f110bdb588", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.2.0-pre.0 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking rand v0.5.0-pre.2 [INFO] [stderr] Checking The-Senate-Bus-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Mutex, Arc, RwLock, Condvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] 8 + fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Mutex, Arc, RwLock, Condvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] 8 + fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `The_Senate_Bus_problem` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `the_senate_bus_problem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enter_boardingArea` should have a snake case name [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enter_boarding_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allAboard` should have a snake case name [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let allAboard = Arc::new((Mutex::new(0), Condvar::new())); // Bus waits til all riders get in [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_aboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allAboard_clone` should have a snake case name [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let allAboard_clone = allAboard.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_aboard_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `The_Senate_Bus_problem` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `the_senate_bus_problem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enter_boardingArea` should have a snake case name [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enter_boarding_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allAboard` should have a snake case name [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let allAboard = Arc::new((Mutex::new(0), Condvar::new())); // Bus waits til all riders get in [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_aboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allAboard_clone` should have a snake case name [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let allAboard_clone = allAboard.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_aboard_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "245b923d581f1d66e0993871a6f23d9d349c17d2d484a052e99a17f110bdb588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245b923d581f1d66e0993871a6f23d9d349c17d2d484a052e99a17f110bdb588", kill_on_drop: false }` [INFO] [stdout] 245b923d581f1d66e0993871a6f23d9d349c17d2d484a052e99a17f110bdb588