[INFO] cloning repository https://github.com/AndrewCushing/Rust-The_book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndrewCushing/Rust-The_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewCushing%2FRust-The_book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewCushing%2FRust-The_book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13bdca24b116c7c3ce4fa603fbae957e33965255 [INFO] checking AndrewCushing/Rust-The_book against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewCushing%2FRust-The_book" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AndrewCushing/Rust-The_book on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AndrewCushing/Rust-The_book [INFO] finished tweaking git repo https://github.com/AndrewCushing/Rust-The_book [INFO] tweaked toml for git repo https://github.com/AndrewCushing/Rust-The_book written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/AndrewCushing/Rust-The_book already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98afae629a7033599d25505c3549cd5437102a65a3f66d19d6413ff2f6c6c2be [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" "98afae629a7033599d25505c3549cd5437102a65a3f66d19d6413ff2f6c6c2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98afae629a7033599d25505c3549cd5437102a65a3f66d19d6413ff2f6c6c2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98afae629a7033599d25505c3549cd5437102a65a3f66d19d6413ff2f6c6c2be", kill_on_drop: false }` [INFO] [stdout] 98afae629a7033599d25505c3549cd5437102a65a3f66d19d6413ff2f6c6c2be [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f846d24c35fd95d488da519aa92348be6ff5dc9c7dfb9024c865dcf38bdcb5 [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" "25f846d24c35fd95d488da519aa92348be6ff5dc9c7dfb9024c865dcf38bdcb5", kill_on_drop: false }` [INFO] [stderr] Checking common_programming_concepts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `ownership` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod ownership; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ownership`, create file "src/ownership.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `ownership` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod ownership; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ownership`, create file "src/ownership.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/challenges/chapter_8/mean_median_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/challenges/chapter_8/mean_median_mode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `company` should have an upper camel case name [INFO] [stdout] --> src/challenges/chapter_8/staff.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct company { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Company` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/challenges/chapter_8/mean_median_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/challenges/chapter_8/mean_median_mode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `company` should have an upper camel case name [INFO] [stdout] --> src/challenges/chapter_8/staff.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct company { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Company` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `common_programming_concepts` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "25f846d24c35fd95d488da519aa92348be6ff5dc9c7dfb9024c865dcf38bdcb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f846d24c35fd95d488da519aa92348be6ff5dc9c7dfb9024c865dcf38bdcb5", kill_on_drop: false }` [INFO] [stdout] 25f846d24c35fd95d488da519aa92348be6ff5dc9c7dfb9024c865dcf38bdcb5