[INFO] fetching crate boilermates 0.3.0... [INFO] testing boilermates-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate boilermates 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate boilermates 0.3.0 [INFO] finished tweaking crates.io crate boilermates 0.3.0 [INFO] tweaked toml for crates.io crate boilermates 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate boilermates 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e89ae28257c1135c37b07955bb8df992c7e355ed3c6fa81d45582bb1d793dee [INFO] running `Command { std: "docker" "start" "-a" "5e89ae28257c1135c37b07955bb8df992c7e355ed3c6fa81d45582bb1d793dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e89ae28257c1135c37b07955bb8df992c7e355ed3c6fa81d45582bb1d793dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e89ae28257c1135c37b07955bb8df992c7e355ed3c6fa81d45582bb1d793dee", kill_on_drop: false }` [INFO] [stdout] 5e89ae28257c1135c37b07955bb8df992c7e355ed3c6fa81d45582bb1d793dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d2960c3498966fd020b1982a173576b2f8274a597cc7e2c66f6758fb073cb65 [INFO] running `Command { std: "docker" "start" "-a" "2d2960c3498966fd020b1982a173576b2f8274a597cc7e2c66f6758fb073cb65", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling boilermates v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.09s [INFO] running `Command { std: "docker" "inspect" "2d2960c3498966fd020b1982a173576b2f8274a597cc7e2c66f6758fb073cb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2960c3498966fd020b1982a173576b2f8274a597cc7e2c66f6758fb073cb65", kill_on_drop: false }` [INFO] [stdout] 2d2960c3498966fd020b1982a173576b2f8274a597cc7e2c66f6758fb073cb65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7d20445de3e6c3acc56cddf3b7bda45c745fa064ca0e8acb913b46475a6cb30 [INFO] running `Command { std: "docker" "start" "-a" "f7d20445de3e6c3acc56cddf3b7bda45c745fa064ca0e8acb913b46475a6cb30", kill_on_drop: false }` [INFO] [stderr] Compiling boilermates v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "f7d20445de3e6c3acc56cddf3b7bda45c745fa064ca0e8acb913b46475a6cb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d20445de3e6c3acc56cddf3b7bda45c745fa064ca0e8acb913b46475a6cb30", kill_on_drop: false }` [INFO] [stdout] f7d20445de3e6c3acc56cddf3b7bda45c745fa064ca0e8acb913b46475a6cb30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f687f127be55948e2a4828f90ab9bd3765564a62572328826c5c45a4f8b01659 [INFO] running `Command { std: "docker" "start" "-a" "f687f127be55948e2a4828f90ab9bd3765564a62572328826c5c45a4f8b01659", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/boilermates-f3e639414362f934) [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] Doc-tests boilermates [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - (line 102) ... FAILED [INFO] [stdout] test src/lib.rs - (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - (line 147) ... FAILED [INFO] [stdout] test src/lib.rs - (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 157) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 130) stdout ---- [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrderStatus` in this scope [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | status: OrderStatus, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResponseCode` in this scope [INFO] [stdout] --> src/lib.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | response_code: ResponseCode, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 102) stdout ---- [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrderStatus` in this scope [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | status: OrderStatus, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 152) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let order = request.into_order_defaults(Uuid::new_v4); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/lib.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | let order = request.into_order_defaults(Uuid::new_v4); [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 173) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | let total = request.total() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 193 | let total = order.total() [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:193:26 [INFO] [stdout] | [INFO] [stdout] 193 | let total = order.total() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 194 | let total = response.total() [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | let total = response.total() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 195 | } _doctest_main_src_lib_rs_173_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/lib.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | request.set_amount(10); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `order` in this scope [INFO] [stdout] --> src/lib.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | order.set_amount(10); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | response.set_amount(10); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasAmount` in this scope [INFO] [stdout] --> src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | trait GetTotal: HasAmount + HasShippingRequired { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasShippingRequired` in this scope [INFO] [stdout] --> src/lib.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | trait GetTotal: HasAmount + HasShippingRequired { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNIT_PRICE` in this scope [INFO] [stdout] --> src/lib.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | self.amount() * UNIT_PRICE [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHIPPING_PRICE` in this scope [INFO] [stdout] --> src/lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | SHIPPING_PRICE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasAmount` in this scope [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | impl GetTotal for T {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasShippingRequired` in this scope [INFO] [stdout] --> src/lib.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | impl GetTotal for T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/lib.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let total = request.total() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `order` in this scope [INFO] [stdout] --> src/lib.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let total = order.total() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let total = response.total() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 147) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let order = request.into_order(Uuid::new_v4(), OrderStatus::Received, None); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/lib.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let order = request.into_order(Uuid::new_v4(), OrderStatus::Received, None); [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrderStatus` [INFO] [stdout] --> src/lib.rs:148:48 [INFO] [stdout] | [INFO] [stdout] 148 | let order = request.into_order(Uuid::new_v4(), OrderStatus::Received, None); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OrderStatus` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 162) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `order` in this scope [INFO] [stdout] --> src/lib.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let response = OrderResponse::from(order); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrderResponse` [INFO] [stdout] --> src/lib.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | let response = OrderResponse::from(order); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OrderResponse` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 117) stdout ---- [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 157) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `order` in this scope [INFO] [stdout] --> src/lib.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | let response = order.into_order_response(ResponseCode::Ok); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseCode` [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | let response = order.into_order_response(ResponseCode::Ok); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 102) [INFO] [stdout] src/lib.rs - (line 117) [INFO] [stdout] src/lib.rs - (line 130) [INFO] [stdout] src/lib.rs - (line 147) [INFO] [stdout] src/lib.rs - (line 152) [INFO] [stdout] src/lib.rs - (line 157) [INFO] [stdout] src/lib.rs - (line 162) [INFO] [stdout] src/lib.rs - (line 173) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f687f127be55948e2a4828f90ab9bd3765564a62572328826c5c45a4f8b01659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f687f127be55948e2a4828f90ab9bd3765564a62572328826c5c45a4f8b01659", kill_on_drop: false }` [INFO] [stdout] f687f127be55948e2a4828f90ab9bd3765564a62572328826c5c45a4f8b01659