[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#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsianliu%2Frust-course-new" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sianliu/rust-course-new on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atomic v0.6.1
[INFO] [stderr]   Downloaded devise_codegen v0.4.2
[INFO] [stderr]   Downloaded devise v0.4.2
[INFO] [stderr]   Downloaded devise_core v0.4.2
[INFO] [stderr]   Downloaded rocket_http v0.5.1
[INFO] [stderr]   Downloaded state v0.6.0
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded rocket_codegen v0.5.1
[INFO] [stderr]   Downloaded rocket v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 814194a67da8cbacb3ddc683b4de5b7f2a4afa1d14994beb390c2959ff25c53d
[INFO] running `Command { std: "docker" "start" "-a" "814194a67da8cbacb3ddc683b4de5b7f2a4afa1d14994beb390c2959ff25c53d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "814194a67da8cbacb3ddc683b4de5b7f2a4afa1d14994beb390c2959ff25c53d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "814194a67da8cbacb3ddc683b4de5b7f2a4afa1d14994beb390c2959ff25c53d", kill_on_drop: false }`
[INFO] [stdout] 814194a67da8cbacb3ddc683b4de5b7f2a4afa1d14994beb390c2959ff25c53d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abf5f1db2af5a2ba0b0cc370334db3c9aedb856f0f32aeec7598010260138220
[INFO] running `Command { std: "docker" "start" "-a" "abf5f1db2af5a2ba0b0cc370334db3c9aedb856f0f32aeec7598010260138220", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling assignment3 v0.1.0 (/opt/rustwide/workdir/assignments/assignment3)
[INFO] [stderr]    Compiling assignment1 v0.1.0 (/opt/rustwide/workdir/assignments/assignment1)
[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 shared v0.1.0 (/opt/rustwide/workdir/assignments/shared)
[INFO] [stderr]    Compiling assignment2 v0.1.0 (/opt/rustwide/workdir/assignments/assignment2)
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling cap_v1 v0.1.0 (/opt/rustwide/workdir/capstone)
[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 async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling serde v1.0.219
[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 49.46s
[INFO] running `Command { std: "docker" "inspect" "abf5f1db2af5a2ba0b0cc370334db3c9aedb856f0f32aeec7598010260138220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abf5f1db2af5a2ba0b0cc370334db3c9aedb856f0f32aeec7598010260138220", kill_on_drop: false }`
[INFO] [stdout] abf5f1db2af5a2ba0b0cc370334db3c9aedb856f0f32aeec7598010260138220
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 865feb15d6ca4fdac1e39a691c524aaa8932d281788a75c38f5e834c64507769
[INFO] running `Command { std: "docker" "start" "-a" "865feb15d6ca4fdac1e39a691c524aaa8932d281788a75c38f5e834c64507769", 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 assignment1 v0.1.0 (/opt/rustwide/workdir/assignments/assignment1)
[INFO] [stderr]    Compiling assignment2 v0.1.0 (/opt/rustwide/workdir/assignments/assignment2)
[INFO] [stderr]    Compiling assignment3 v0.1.0 (/opt/rustwide/workdir/assignments/assignment3)
[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.08s
[INFO] running `Command { std: "docker" "inspect" "865feb15d6ca4fdac1e39a691c524aaa8932d281788a75c38f5e834c64507769", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "865feb15d6ca4fdac1e39a691c524aaa8932d281788a75c38f5e834c64507769", kill_on_drop: false }`
[INFO] [stdout] 865feb15d6ca4fdac1e39a691c524aaa8932d281788a75c38f5e834c64507769
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] da61ea928499be8f69cb4ed8f31f65bbe2926d1538d5b3bff997331337f7cb01
[INFO] running `Command { std: "docker" "start" "-a" "da61ea928499be8f69cb4ed8f31f65bbe2926d1538d5b3bff997331337f7cb01", 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: 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: `cap_v1` (bin "cap_v1" test) generated 2 warnings
[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.30s
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend-3571b98d4df9b227)
[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/lib.rs (/opt/rustwide/target/debug/deps/cap_v1-6b8d28d5d920cd78)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cap_v1-1237b755e2a0defc)
[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] [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] [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 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] [stderr]    Doc-tests cap_v1
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test capstone/src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test capstone/src/location.rs - location::Country::country_to_continent (line 48) ... 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::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] 18 | 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/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] 49 | let country = Country::Germany;
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Country`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 48 + 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] 50 | 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] 48 + 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/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] 34 | 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] 32 + 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::from_str (line 132) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Country` in this scope
[INFO] [stdout]    --> capstone/src/location.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | 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] 132 + use cap_v1::location::Country;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Country` in this scope
[INFO] [stdout]    --> capstone/src/location.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout] 134 | 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] 132 + 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] 132 | 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] 133 | 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] 132 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_capstone_src_location_rs_132_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 133 | let country: Country = "USA".parse()?;
[INFO] [stdout] 134 | let country: Country = "United Kingdom".parse()?;
[INFO] [stdout] 135 +     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] 132 | 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] 133 | let country: Country = "USA".parse()?;
[INFO] [stdout] 134 | 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] 132 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_capstone_src_location_rs_132_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 133 | let country: Country = "USA".parse()?;
[INFO] [stdout] 134 | let country: Country = "United Kingdom".parse()?;
[INFO] [stdout] 135 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[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.34s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.46s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `-p cap_v1 --doc`
[INFO] running `Command { std: "docker" "inspect" "da61ea928499be8f69cb4ed8f31f65bbe2926d1538d5b3bff997331337f7cb01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da61ea928499be8f69cb4ed8f31f65bbe2926d1538d5b3bff997331337f7cb01", kill_on_drop: false }`
[INFO] [stdout] da61ea928499be8f69cb4ed8f31f65bbe2926d1538d5b3bff997331337f7cb01
