[INFO] cloning repository https://github.com/f-ctt/The-Senate-Bus-Problem [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff-ctt%2FThe-Senate-Bus-Problem'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 73f2d917655d01fded8b572ae6a73678d3165755 [INFO] checking f-ctt/The-Senate-Bus-Problem against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff-ctt%2FThe-Senate-Bus-Problem" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/f-ctt/The-Senate-Bus-Problem on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/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 `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ea64b2f25db4870c85f5f059bc99d8cdb5af069895cca4e7780abca462fa830e [INFO] running `"docker" "start" "-a" "ea64b2f25db4870c85f5f059bc99d8cdb5af069895cca4e7780abca462fa830e"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking rand_core v0.2.0-pre.0 [INFO] [stderr] Checking rand v0.5.0-pre.2 [INFO] [stderr] Checking The-Senate-Bus-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `RwLock` [INFO] [stderr] --> src/main.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::{Mutex, Arc, RwLock, Condvar}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:8:46 [INFO] [stderr] | [INFO] [stderr] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `The_Senate_Bus_problem` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `the_senate_bus_problem` [INFO] [stderr] [INFO] [stderr] warning: function `enter_boardingArea` should have a snake case name [INFO] [stderr] --> src/main.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enter_boarding_area` [INFO] [stderr] [INFO] [stderr] warning: variable `allAboard` should have a snake case name [INFO] [stderr] --> src/main.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let allAboard = Arc::new((Mutex::new(0), Condvar::new())); // Bus waits til all riders get in [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `all_aboard` [INFO] [stderr] [INFO] [stderr] warning: variable `allAboard_clone` should have a snake case name [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let allAboard_clone = allAboard.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_aboard_clone` [INFO] [stderr] [INFO] [stderr] warning: unused import: `RwLock` [INFO] [stderr] --> src/main.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::{Mutex, Arc, RwLock, Condvar}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:8:46 [INFO] [stderr] | [INFO] [stderr] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: crate `The_Senate_Bus_problem` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `the_senate_bus_problem` [INFO] [stderr] [INFO] [stderr] warning: function `enter_boardingArea` should have a snake case name [INFO] [stderr] --> src/main.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn enter_boardingArea(mutex_clone: Arc>, id: u32) { // update the amout of riders waiting and unlock the mutex [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enter_boarding_area` [INFO] [stderr] [INFO] [stderr] warning: variable `allAboard` should have a snake case name [INFO] [stderr] --> src/main.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let allAboard = Arc::new((Mutex::new(0), Condvar::new())); // Bus waits til all riders get in [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `all_aboard` [INFO] [stderr] [INFO] [stderr] warning: variable `allAboard_clone` should have a snake case name [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let allAboard_clone = allAboard.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_aboard_clone` [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `"docker" "inspect" "ea64b2f25db4870c85f5f059bc99d8cdb5af069895cca4e7780abca462fa830e"` [INFO] running `"docker" "rm" "-f" "ea64b2f25db4870c85f5f059bc99d8cdb5af069895cca4e7780abca462fa830e"` [INFO] [stdout] ea64b2f25db4870c85f5f059bc99d8cdb5af069895cca4e7780abca462fa830e