[INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zainsubhani/CourseraRust-DukeUniversity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f40871e5720818d71277b595fdb6bd0e61e6ef8c [INFO] checking zainsubhani/CourseraRust-DukeUniversity against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzainsubhani%2FCourseraRust-DukeUniversity" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] finished tweaking git repo https://github.com/zainsubhani/CourseraRust-DukeUniversity [INFO] tweaked toml for git repo https://github.com/zainsubhani/CourseraRust-DukeUniversity written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zainsubhani/CourseraRust-DukeUniversity on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zainsubhani/CourseraRust-DukeUniversity 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2a50cf5a1b8a4f782e1747d2ff23d88aaca9ac623ce02fcddf1a1cb641c4ee8 [INFO] running `Command { std: "docker" "start" "-a" "d2a50cf5a1b8a4f782e1747d2ff23d88aaca9ac623ce02fcddf1a1cb641c4ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a50cf5a1b8a4f782e1747d2ff23d88aaca9ac623ce02fcddf1a1cb641c4ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a50cf5a1b8a4f782e1747d2ff23d88aaca9ac623ce02fcddf1a1cb641c4ee8", kill_on_drop: false }` [INFO] [stdout] d2a50cf5a1b8a4f782e1747d2ff23d88aaca9ac623ce02fcddf1a1cb641c4ee8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 120ff2bd9983578ede0dc3051e88db8df1615bfe0bd10076b5f7d6f5715f53fd [INFO] running `Command { std: "docker" "start" "-a" "120ff2bd9983578ede0dc3051e88db8df1615bfe0bd10076b5f7d6f5715f53fd", kill_on_drop: false }` [INFO] [stderr] Checking rust_fundamentals_duke_university v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `kb` in this scope [INFO] [stdout] --> src/topics/FilesizeConverter.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | FileSize::megabytes(_) => format!("{:.2} MB", kb as f64 / 1000.0), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kb` in this scope [INFO] [stdout] --> src/topics/FilesizeConverter.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | FileSize::gigabytes(_) => format!("{:.2} GB", kb as f64 / 1000.0), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kb` in this scope [INFO] [stdout] --> src/topics/FilesizeConverter.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | FileSize::terabytes(_) => format!("{:.2} TB", kb as f64 / 1000.0), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kb` in this scope [INFO] [stdout] --> src/topics/FilesizeConverter.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | FileSize::megabytes(_) => format!("{:.2} MB", kb as f64 / 1000.0), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kb` in this scope [INFO] [stdout] --> src/topics/FilesizeConverter.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | FileSize::gigabytes(_) => format!("{:.2} GB", kb as f64 / 1000.0), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bytes(u16), [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kb` in this scope [INFO] [stdout] --> src/topics/FilesizeConverter.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | FileSize::terabytes(_) => format!("{:.2} TB", kb as f64 / 1000.0), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `kilobytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | kilobytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Kilobytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `megabytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | megabytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Megabytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `gigabytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | gigabytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Gigabytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `terabytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | terabytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Terabytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bytes(u16), [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `kilobytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | kilobytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Kilobytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `megabytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | megabytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Megabytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `gigabytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | gigabytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Gigabytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `terabytes` should have an upper camel case name [INFO] [stdout] --> src/topics/FilesizeConverter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | terabytes(u64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Terabytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/topics/FilesizeConverter.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | 0..=999 => FileSize::bytes(size), [INFO] [stdout] | --------------- ^^^^ expected `u16`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/topics/FilesizeConverter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bytes(u16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | 0..=999 => FileSize::bytes(size.try_into().unwrap()), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/topics/FilesizeConverter.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | 0..=999 => FileSize::bytes(size), [INFO] [stdout] | --------------- ^^^^ expected `u16`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/topics/FilesizeConverter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bytes(u16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | 0..=999 => FileSize::bytes(size.try_into().unwrap()), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_fundamentals_duke_university` (bin "rust_fundamentals_duke_university" test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_fundamentals_duke_university` (bin "rust_fundamentals_duke_university") due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "120ff2bd9983578ede0dc3051e88db8df1615bfe0bd10076b5f7d6f5715f53fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120ff2bd9983578ede0dc3051e88db8df1615bfe0bd10076b5f7d6f5715f53fd", kill_on_drop: false }` [INFO] [stdout] 120ff2bd9983578ede0dc3051e88db8df1615bfe0bd10076b5f7d6f5715f53fd