[INFO] fetching crate quickform 0.1.0... [INFO] testing quickform-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate quickform 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate quickform 0.1.0 [INFO] finished tweaking crates.io crate quickform 0.1.0 [INFO] tweaked toml for crates.io crate quickform 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quickform 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2e7e42ca762da300e8667a62392fce7099da7bfd3242ba45164a63fe025ee72 [INFO] running `Command { std: "docker" "start" "-a" "b2e7e42ca762da300e8667a62392fce7099da7bfd3242ba45164a63fe025ee72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2e7e42ca762da300e8667a62392fce7099da7bfd3242ba45164a63fe025ee72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e7e42ca762da300e8667a62392fce7099da7bfd3242ba45164a63fe025ee72", kill_on_drop: false }` [INFO] [stdout] b2e7e42ca762da300e8667a62392fce7099da7bfd3242ba45164a63fe025ee72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d917e4d21b4576f808a214df9a4c9fcc8f3f75961d748a2c35d3bc7d81fff66 [INFO] running `Command { std: "docker" "start" "-a" "4d917e4d21b4576f808a214df9a4c9fcc8f3f75961d748a2c35d3bc7d81fff66", kill_on_drop: false }` [INFO] [stderr] Compiling memo-map v0.3.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling minijinja v2.19.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling quickform v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.87s [INFO] running `Command { std: "docker" "inspect" "4d917e4d21b4576f808a214df9a4c9fcc8f3f75961d748a2c35d3bc7d81fff66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d917e4d21b4576f808a214df9a4c9fcc8f3f75961d748a2c35d3bc7d81fff66", kill_on_drop: false }` [INFO] [stdout] 4d917e4d21b4576f808a214df9a4c9fcc8f3f75961d748a2c35d3bc7d81fff66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f536dd66e4630458ee03af32e0b695e533a1fa77e54d6ced70f60ce83cb9dd [INFO] running `Command { std: "docker" "start" "-a" "21f536dd66e4630458ee03af32e0b695e533a1fa77e54d6ced70f60ce83cb9dd", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling quickform v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.33s [INFO] running `Command { std: "docker" "inspect" "21f536dd66e4630458ee03af32e0b695e533a1fa77e54d6ced70f60ce83cb9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f536dd66e4630458ee03af32e0b695e533a1fa77e54d6ced70f60ce83cb9dd", kill_on_drop: false }` [INFO] [stdout] 21f536dd66e4630458ee03af32e0b695e533a1fa77e54d6ced70f60ce83cb9dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4cacf5c506f88934c5237a1b4ceb9f12a82f6ee2a6881b7dbc3b305cd6bbc019 [INFO] running `Command { std: "docker" "start" "-a" "4cacf5c506f88934c5237a1b4ceb9f12a82f6ee2a6881b7dbc3b305cd6bbc019", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quickform-16e545ff9d1f3b1c) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test operation::tests::test_different_arities ... ok [INFO] [stdout] test fs::tests::test_filesystem ... ok [INFO] [stdout] test state::tests::test_state_operations ... ok [INFO] [stdout] test tests::test_state_operation_multiple_states ... ok [INFO] [stdout] test tests::test_state_operation_chain ... ok [INFO] [stdout] test fs::tests::test_read_from_disk ... ok [INFO] [stdout] test state::tests::test_into_params ... ok [INFO] [stdout] test tests::test_simple_params ... ok [INFO] [stdout] test tests::test_state_operation_single_state ... ok [INFO] [stdout] test tests::test_no_params ... ok [INFO] [stdout] test tests::test_mixed_operations ... ok [INFO] [stdout] test tests::test_multiple_params ... ok [INFO] [stdout] test tests::test_from_dir ... ok [INFO] [stdout] test state::tests::test_multiple_states ... ok [INFO] [stdout] test fs::tests::test_write_to_disk ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests quickform [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/state.rs - state (line 10) ... FAILED [INFO] [stdout] test src/state.rs - state::Data::update (line 94) ... FAILED [INFO] [stdout] test src/state.rs - state::Data::new (line 57) ... FAILED [INFO] [stdout] test src/state.rs - state::Data::clone_inner (line 72) ... FAILED [INFO] [stdout] test src/error.rs - error::Error (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/fs.rs - fs (line 17) - compile ... FAILED [INFO] [stdout] test src/operation.rs - operation (line 9) ... FAILED [INFO] [stdout] test src/context.rs - context::Context (line 12) ... FAILED [INFO] [stdout] test src/state.rs - state::Data::set (line 117) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/state.rs - state (line 10) stdout ---- [INFO] [stdout] error[E0603]: module `state` is private [INFO] [stdout] --> src/state.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use quickform::state::{Data, NoData}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `state` is defined here [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | mod state; [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 E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state::Data::update (line 94) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Data` in this scope [INFO] [stdout] --> src/state.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let state = Data::new(String::from("hello")); [INFO] [stdout] | ^^^^ use of undeclared type `Data` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::error::Category::Data`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 95 - let state = Data::new(String::from("hello")); [INFO] [stdout] 95 + let state = serde_json::error::Category::new(String::from("hello")); [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] ---- src/state.rs - state::Data::new (line 57) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Data` in this scope [INFO] [stdout] --> src/state.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let state = Data::new(String::from("hello")); [INFO] [stdout] | ^^^^ use of undeclared type `Data` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::error::Category::Data`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 58 - let state = Data::new(String::from("hello")); [INFO] [stdout] 58 + let state = serde_json::error::Category::new(String::from("hello")); [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] ---- src/state.rs - state::Data::clone_inner (line 72) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Data` in this scope [INFO] [stdout] --> src/state.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let state = Data::new(String::from("hello")); [INFO] [stdout] | ^^^^ use of undeclared type `Data` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::error::Category::Data`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 73 - let state = Data::new(String::from("hello")); [INFO] [stdout] 73 + let state = serde_json::error::Category::new(String::from("hello")); [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] ---- src/error.rs - error::Error (line 12) stdout ---- [INFO] [stdout] error[E0603]: enum `Error` is private [INFO] [stdout] --> src/error.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use quickform::Error; [INFO] [stdout] | ^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Error` is defined here [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use error::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: import `Error` directly [INFO] [stdout] | [INFO] [stdout] 14 | use quickform::error::Error; [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 E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Data` in this scope [INFO] [stdout] --> src/lib.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | async fn process_user(user: Data) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::error::Category::Data`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 21 - async fn process_user(user: Data) -> String { [INFO] [stdout] 21 + async fn process_user(user: serde_json::error::Category) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let app = App::new() [INFO] [stdout] | ^^^ function or associated item not found in `App<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `App<_>`, consider using `App::::from_dir` which returns `App` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn from_dir>(template_dir: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fs.rs - fs (line 17) stdout ---- [INFO] [stdout] error[E0603]: module `fs` is private [INFO] [stdout] --> src/fs.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use quickform::fs::MemFS; [INFO] [stdout] | ^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `fs` is defined here [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | mod fs; [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 E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/operation.rs - operation (line 9) stdout ---- [INFO] [stdout] error[E0603]: module `operation` is private [INFO] [stdout] --> src/operation.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use quickform::operation::*; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `operation` is defined here [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod operation; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/operation.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_operation_rs_9_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 19 | let result = greet.invoke("Alice".to_string()).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoke` found for fn item `fn(String) -> impl Future {greet}` in the current scope [INFO] [stdout] --> src/operation.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let result = greet.invoke("Alice".to_string()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn invoke(&self, params: F::Params) -> Self::Future; [INFO] [stdout] | ------ the method is available for `fn(String) -> impl Future {greet}` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/convert/mod.rs:455:4 [INFO] [stdout] help: trait `Operation` which provides `invoke` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 8 + use crate::quickform::operation::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context.rs - context::Context (line 12) stdout ---- [INFO] [stdout] error[E0599]: no method named `to_value` found for struct `User` in the current scope [INFO] [stdout] --> src/context.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 16 | struct User { [INFO] [stdout] | ----------- method `to_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | let template_value = user.to_value(); [INFO] [stdout] | ^^^^^^^^ method not found in `User` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state::Data::set (line 117) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Data` in this scope [INFO] [stdout] --> src/state.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let state = Data::new(String::from("hello")); [INFO] [stdout] | ^^^^ use of undeclared type `Data` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::error::Category::Data`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 118 - let state = Data::new(String::from("hello")); [INFO] [stdout] 118 + let state = serde_json::error::Category::new(String::from("hello")); [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] [INFO] [stdout] failures: [INFO] [stdout] src/context.rs - context::Context (line 12) [INFO] [stdout] src/error.rs - error::Error (line 12) [INFO] [stdout] src/fs.rs - fs (line 17) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/operation.rs - operation (line 9) [INFO] [stdout] src/state.rs - state (line 10) [INFO] [stdout] src/state.rs - state::Data::clone_inner (line 72) [INFO] [stdout] src/state.rs - state::Data::new (line 57) [INFO] [stdout] src/state.rs - state::Data::set (line 117) [INFO] [stdout] src/state.rs - state::Data::update (line 94) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4cacf5c506f88934c5237a1b4ceb9f12a82f6ee2a6881b7dbc3b305cd6bbc019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cacf5c506f88934c5237a1b4ceb9f12a82f6ee2a6881b7dbc3b305cd6bbc019", kill_on_drop: false }` [INFO] [stdout] 4cacf5c506f88934c5237a1b4ceb9f12a82f6ee2a6881b7dbc3b305cd6bbc019