[INFO] cloning repository https://github.com/santiagomed/quickform [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/santiagomed/quickform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsantiagomed%2Fquickform", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsantiagomed%2Fquickform'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3926cc0affebdbe143c6c3f5f487f5fbd923aa8 [INFO] testing santiagomed/quickform against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsantiagomed%2Fquickform" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/santiagomed/quickform [INFO] finished tweaking git repo https://github.com/santiagomed/quickform [INFO] tweaked toml for git repo https://github.com/santiagomed/quickform written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/santiagomed/quickform 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] crate git repo https://github.com/santiagomed/quickform 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a720b9eba15a1f268c07f660359a9f7aa20ab7220e015570a37d2f17c41ec6f2 [INFO] running `Command { std: "docker" "start" "-a" "a720b9eba15a1f268c07f660359a9f7aa20ab7220e015570a37d2f17c41ec6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a720b9eba15a1f268c07f660359a9f7aa20ab7220e015570a37d2f17c41ec6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a720b9eba15a1f268c07f660359a9f7aa20ab7220e015570a37d2f17c41ec6f2", kill_on_drop: false }` [INFO] [stdout] a720b9eba15a1f268c07f660359a9f7aa20ab7220e015570a37d2f17c41ec6f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3f306732fa88599a658a485d152718196d939f3f4f62b6986e3495bdaa59b758 [INFO] running `Command { std: "docker" "start" "-a" "3f306732fa88599a658a485d152718196d939f3f4f62b6986e3495bdaa59b758", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.165 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling memo-map v0.3.3 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling minijinja v2.5.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling quickform v0.1.0 (/opt/rustwide/workdir/quickform) [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.25.0 [INFO] [stderr] Compiling tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stdout] warning: constant `PROMPT` is never used [INFO] [stdout] --> tests/src/prompts/start.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const PROMPT: &str = r#"USER REQUIREMENTS: [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 1m 01s [INFO] running `Command { std: "docker" "inspect" "3f306732fa88599a658a485d152718196d939f3f4f62b6986e3495bdaa59b758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f306732fa88599a658a485d152718196d939f3f4f62b6986e3495bdaa59b758", kill_on_drop: false }` [INFO] [stdout] 3f306732fa88599a658a485d152718196d939f3f4f62b6986e3495bdaa59b758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1ee6a3f2ca1f51dab24ec20fe561abc9a17f5c5ef3dd7352d7d65a3caf11d901 [INFO] running `Command { std: "docker" "start" "-a" "1ee6a3f2ca1f51dab24ec20fe561abc9a17f5c5ef3dd7352d7d65a3caf11d901", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stdout] warning: constant `PROMPT` is never used [INFO] [stdout] --> tests/src/prompts/start.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const PROMPT: &str = r#"USER REQUIREMENTS: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling quickform v0.1.0 (/opt/rustwide/workdir/quickform) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.93s [INFO] running `Command { std: "docker" "inspect" "1ee6a3f2ca1f51dab24ec20fe561abc9a17f5c5ef3dd7352d7d65a3caf11d901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee6a3f2ca1f51dab24ec20fe561abc9a17f5c5ef3dd7352d7d65a3caf11d901", kill_on_drop: false }` [INFO] [stdout] 1ee6a3f2ca1f51dab24ec20fe561abc9a17f5c5ef3dd7352d7d65a3caf11d901 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0f94bca7f974416bb1f67a3e01ee25c5880e647fdd465f12943c5fab0142475b [INFO] running `Command { std: "docker" "start" "-a" "0f94bca7f974416bb1f67a3e01ee25c5880e647fdd465f12943c5fab0142475b", kill_on_drop: false }` [INFO] [stderr] warning: constant `PROMPT` is never used [INFO] [stderr] --> tests/src/prompts/start.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const PROMPT: &str = r#"USER REQUIREMENTS: [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tests` (bin "tests" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quickform-ecce0c00840d48f1) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test fs::tests::test_filesystem ... ok [INFO] [stdout] test operation::tests::test_different_arities ... ok [INFO] [stdout] test state::tests::test_into_params ... ok [INFO] [stdout] test state::tests::test_state_operations ... ok [INFO] [stdout] test state::tests::test_multiple_states ... ok [INFO] [stdout] test fs::tests::test_read_from_disk ... 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 tests::test_simple_params ... ok [INFO] [stdout] test fs::tests::test_write_to_disk ... ok [INFO] [stdout] test tests::test_state_operation_chain ... ok [INFO] [stdout] test tests::test_state_operation_multiple_states ... ok [INFO] [stdout] test tests::test_state_operation_single_state ... ok [INFO] [stdout] test tests::test_no_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tests-3a15902b620d65e5) [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 quickform [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test quickform/src/state.rs - state::Data::clone_inner (line 72) ... FAILED [INFO] [stdout] test quickform/src/error.rs - error::Error (line 12) ... FAILED [INFO] [stdout] test quickform/src/state.rs - state::Data::new (line 57) ... FAILED [INFO] [stdout] test quickform/src/fs.rs - fs (line 17) - compile ... FAILED [INFO] [stdout] test quickform/src/context.rs - context::Context (line 12) ... FAILED [INFO] [stdout] test quickform/src/state.rs - state::Data::set (line 117) ... FAILED [INFO] [stdout] test quickform/src/state.rs - state::Data::update (line 94) ... FAILED [INFO] [stdout] test quickform/src/operation.rs - operation (line 9) ... FAILED [INFO] [stdout] test quickform/src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test quickform/src/state.rs - state (line 10) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- quickform/src/state.rs - state::Data::clone_inner (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Data` [INFO] [stdout] --> quickform/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 72 + use quickform::state::Data; [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] ---- quickform/src/error.rs - error::Error (line 12) stdout ---- [INFO] [stdout] error[E0603]: enum `Error` is private [INFO] [stdout] --> quickform/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] --> /opt/rustwide/workdir/quickform/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] ---- quickform/src/state.rs - state::Data::new (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Data` [INFO] [stdout] --> quickform/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 57 + use quickform::state::Data; [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] ---- quickform/src/fs.rs - fs (line 17) stdout ---- [INFO] [stdout] error[E0603]: module `fs` is private [INFO] [stdout] --> quickform/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] --> /opt/rustwide/workdir/quickform/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] ---- quickform/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] --> quickform/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] ---- quickform/src/state.rs - state::Data::set (line 117) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Data` [INFO] [stdout] --> quickform/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use quickform::state::Data; [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] ---- quickform/src/state.rs - state::Data::update (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Data` [INFO] [stdout] --> quickform/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use quickform::state::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> quickform/src/state.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | state.update(|s| s.push_str(" world")).await; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 97 | state.update(|s: /* Type */| s.push_str(" world")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- quickform/src/operation.rs - operation (line 9) stdout ---- [INFO] [stdout] error[E0603]: module `operation` is private [INFO] [stdout] --> quickform/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] --> /opt/rustwide/workdir/quickform/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] --> quickform/src/operation.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_quickform_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] --> quickform/src/operation.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let result = greet.invoke("Alice".to_string()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/quickform/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/c2e32f1c9652b13ed99608599c1e855462f421f3/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] ---- quickform/src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> quickform/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use quickform::state::Data; [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] --> quickform/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] --> /opt/rustwide/workdir/quickform/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: E0412, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] quickform/src/context.rs - context::Context (line 12) [INFO] [stdout] quickform/src/error.rs - error::Error (line 12) [INFO] [stdout] quickform/src/fs.rs - fs (line 17) [INFO] [stdout] quickform/src/lib.rs - (line 9) [INFO] [stdout] quickform/src/operation.rs - operation (line 9) [INFO] [stdout] quickform/src/state.rs - state::Data::clone_inner (line 72) [INFO] [stdout] quickform/src/state.rs - state::Data::new (line 57) [INFO] [stdout] quickform/src/state.rs - state::Data::set (line 117) [INFO] [stdout] quickform/src/state.rs - state::Data::update (line 94) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p quickform --doc` [INFO] running `Command { std: "docker" "inspect" "0f94bca7f974416bb1f67a3e01ee25c5880e647fdd465f12943c5fab0142475b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f94bca7f974416bb1f67a3e01ee25c5880e647fdd465f12943c5fab0142475b", kill_on_drop: false }` [INFO] [stdout] 0f94bca7f974416bb1f67a3e01ee25c5880e647fdd465f12943c5fab0142475b