[INFO] cloning repository https://github.com/sianliu/rust-course-new [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sianliu/rust-course-new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsianliu%2Frust-course-new", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsianliu%2Frust-course-new'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 049b270079e3550c8341c72b30731c43aaae8954 [INFO] testing sianliu/rust-course-new against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsianliu%2Frust-course-new" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sianliu/rust-course-new [INFO] finished tweaking git repo https://github.com/sianliu/rust-course-new [INFO] tweaked toml for git repo https://github.com/sianliu/rust-course-new written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sianliu/rust-course-new on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sianliu/rust-course-new 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb6c010967c5cddf8d3e933e3e574b24ee03c892ab9204ea8e768c1da363a59a [INFO] running `Command { std: "docker" "start" "-a" "eb6c010967c5cddf8d3e933e3e574b24ee03c892ab9204ea8e768c1da363a59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb6c010967c5cddf8d3e933e3e574b24ee03c892ab9204ea8e768c1da363a59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6c010967c5cddf8d3e933e3e574b24ee03c892ab9204ea8e768c1da363a59a", kill_on_drop: false }` [INFO] [stdout] eb6c010967c5cddf8d3e933e3e574b24ee03c892ab9204ea8e768c1da363a59a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d4d4f3c99b575ec6075e2dafbf1958565af98fedf9ff61807b6bf3d80b13d9 [INFO] running `Command { std: "docker" "start" "-a" "d1d4d4f3c99b575ec6075e2dafbf1958565af98fedf9ff61807b6bf3d80b13d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling assignment1 v0.1.0 (/opt/rustwide/workdir/assignments/assignment1) [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/assignments/shared) [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling assignment2 v0.1.0 (/opt/rustwide/workdir/assignments/assignment2) [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling assignment3 v0.1.0 (/opt/rustwide/workdir/assignments/assignment3) [INFO] [stderr] Compiling time v0.3.41 [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> assignments/assignment3/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct UserAccount { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cap_v1 v0.1.0 (/opt/rustwide/workdir/capstone) [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stdout] warning: method `full_name` is never used [INFO] [stdout] --> capstone/src/location.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Country { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn full_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value_tier` and `is_long_term` are never used [INFO] [stdout] --> capstone/src/transaction.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_value_tier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn is_long_term(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> backend/src/task.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(id: u32, title: String, description: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.88s [INFO] running `Command { std: "docker" "inspect" "d1d4d4f3c99b575ec6075e2dafbf1958565af98fedf9ff61807b6bf3d80b13d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d4d4f3c99b575ec6075e2dafbf1958565af98fedf9ff61807b6bf3d80b13d9", kill_on_drop: false }` [INFO] [stdout] d1d4d4f3c99b575ec6075e2dafbf1958565af98fedf9ff61807b6bf3d80b13d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d5ce688310c679517eaa31c4da1f02540b41b018f5b16fd101df4956c7e0886 [INFO] running `Command { std: "docker" "start" "-a" "0d5ce688310c679517eaa31c4da1f02540b41b018f5b16fd101df4956c7e0886", kill_on_drop: false }` [INFO] [stderr] Compiling cap_v1 v0.1.0 (/opt/rustwide/workdir/capstone) [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/assignments/shared) [INFO] [stderr] Compiling assignment3 v0.1.0 (/opt/rustwide/workdir/assignments/assignment3) [INFO] [stderr] Compiling assignment2 v0.1.0 (/opt/rustwide/workdir/assignments/assignment2) [INFO] [stderr] Compiling assignment1 v0.1.0 (/opt/rustwide/workdir/assignments/assignment1) [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> assignments/assignment3/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct UserAccount { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `full_name` is never used [INFO] [stdout] --> capstone/src/location.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Country { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn full_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value_tier` and `is_long_term` are never used [INFO] [stdout] --> capstone/src/transaction.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_value_tier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn is_long_term(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> backend/src/task.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(id: u32, title: String, description: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "0d5ce688310c679517eaa31c4da1f02540b41b018f5b16fd101df4956c7e0886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5ce688310c679517eaa31c4da1f02540b41b018f5b16fd101df4956c7e0886", kill_on_drop: false }` [INFO] [stdout] 0d5ce688310c679517eaa31c4da1f02540b41b018f5b16fd101df4956c7e0886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36cdab710640f78376785f2cf90a31a3e6574810ab6bd4eeb65f20d2e70e6eb5 [INFO] running `Command { std: "docker" "start" "-a" "36cdab710640f78376785f2cf90a31a3e6574810ab6bd4eeb65f20d2e70e6eb5", kill_on_drop: false }` [INFO] [stderr] warning: method `full_name` is never used [INFO] [stderr] --> capstone/src/location.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl Country { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn full_name(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_value_tier` and `is_long_term` are never used [INFO] [stderr] --> capstone/src/transaction.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Transaction { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn get_value_tier(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn is_long_term(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cap_v1` (bin "cap_v1" test) generated 2 warnings [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> assignments/assignment3/src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | struct UserAccount { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 3 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `assignment3` (bin "assignment3" test) generated 1 warning [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> backend/src/task.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Task { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 15 | pub fn new(id: u32, title: String, description: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `backend` (bin "backend" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment1-a992a4f25b1022f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment2-e85dbd7218a28713) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment3-ec691bbdd9b368df) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend-0cd07391f6261fba) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cap_v1-43b7fea8f5978821) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cap_v1-f162bf9fdee3eb98) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shared-ecad316d150af296) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests cap_v1 [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test capstone/src/lib.rs - (line 17) ... FAILED [INFO] [stdout] test capstone/src/transaction.rs - transaction::Transaction::from_csv_line (line 32) ... FAILED [INFO] [stdout] test capstone/src/location.rs - location::Country::country_to_continent (line 48) ... FAILED [INFO] [stdout] test capstone/src/location.rs - location::Country::from_str (line 132) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- capstone/src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> capstone/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 3 | use capstone::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `capstone`, use `cargo add capstone` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- capstone/src/transaction.rs - transaction::Transaction::from_csv_line (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> capstone/src/transaction.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 4 | let transaction = Transaction::from_csv_line(line)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Transaction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cap_v1::transaction::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- capstone/src/location.rs - location::Country::country_to_continent (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Country` [INFO] [stdout] --> capstone/src/location.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 3 | let country = Country::Germany; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Country` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use cap_v1::location::Country; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Continent` [INFO] [stdout] --> capstone/src/location.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(country.country_to_continent(), Continent::Europe); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Continent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use cap_v1::location::Continent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- capstone/src/location.rs - location::Country::from_str (line 132) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Country` in this scope [INFO] [stdout] --> capstone/src/location.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 3 | let country: Country = "USA".parse()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use cap_v1::location::Country; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Country` in this scope [INFO] [stdout] --> capstone/src/location.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 4 | let country: Country = "United Kingdom".parse()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use cap_v1::location::Country; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> capstone/src/location.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_capstone_src_location_rs_132_0() { [INFO] [stdout] | ------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let country: Country = "USA".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_capstone_src_location_rs_132_0() -> Result<(), Box> { [INFO] [stdout] 3 | let country: Country = "USA".parse()?; [INFO] [stdout] 4 | let country: Country = "United Kingdom".parse()?; [INFO] [stdout] 5 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> capstone/src/location.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_capstone_src_location_rs_132_0() { [INFO] [stdout] | ------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let country: Country = "USA".parse()?; [INFO] [stdout] 4 | let country: Country = "United Kingdom".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_capstone_src_location_rs_132_0() -> Result<(), Box> { [INFO] [stdout] 3 | let country: Country = "USA".parse()?; [INFO] [stdout] 4 | let country: Country = "United Kingdom".parse()?; [INFO] [stdout] 5 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] capstone/src/lib.rs - (line 17) [INFO] [stdout] capstone/src/location.rs - location::Country::country_to_continent (line 48) [INFO] [stdout] capstone/src/location.rs - location::Country::from_str (line 132) [INFO] [stdout] capstone/src/transaction.rs - transaction::Transaction::from_csv_line (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.49s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `-p cap_v1 --doc` [INFO] running `Command { std: "docker" "inspect" "36cdab710640f78376785f2cf90a31a3e6574810ab6bd4eeb65f20d2e70e6eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36cdab710640f78376785f2cf90a31a3e6574810ab6bd4eeb65f20d2e70e6eb5", kill_on_drop: false }` [INFO] [stdout] 36cdab710640f78376785f2cf90a31a3e6574810ab6bd4eeb65f20d2e70e6eb5