[INFO] fetching crate fieldx_derive 0.2.3... [INFO] testing fieldx_derive-0.2.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fieldx_derive 0.2.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate fieldx_derive 0.2.3 [INFO] finished tweaking crates.io crate fieldx_derive 0.2.3 [INFO] tweaked toml for crates.io crate fieldx_derive 0.2.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fieldx_derive 0.2.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fieldx_derive 0.2.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31f712043ba91a3e8253e95facc94f8a4d2f0df17479f054e89a79728bf63a53 [INFO] running `Command { std: "docker" "start" "-a" "31f712043ba91a3e8253e95facc94f8a4d2f0df17479f054e89a79728bf63a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31f712043ba91a3e8253e95facc94f8a4d2f0df17479f054e89a79728bf63a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f712043ba91a3e8253e95facc94f8a4d2f0df17479f054e89a79728bf63a53", kill_on_drop: false }` [INFO] [stdout] 31f712043ba91a3e8253e95facc94f8a4d2f0df17479f054e89a79728bf63a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731c8b49948114629c178699bb0d5973221883d9e6ade3dfec04934cf2e86d1e [INFO] running `Command { std: "docker" "start" "-a" "731c8b49948114629c178699bb0d5973221883d9e6ade3dfec04934cf2e86d1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rust-format v0.3.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling delegate v0.13.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling fieldx_derive_support v0.2.3 [INFO] [stderr] Compiling fieldx_aux v0.2.3 [INFO] [stderr] Compiling fieldx_core v0.2.3 [INFO] [stderr] Compiling fieldx_derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.31s [INFO] running `Command { std: "docker" "inspect" "731c8b49948114629c178699bb0d5973221883d9e6ade3dfec04934cf2e86d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731c8b49948114629c178699bb0d5973221883d9e6ade3dfec04934cf2e86d1e", kill_on_drop: false }` [INFO] [stdout] 731c8b49948114629c178699bb0d5973221883d9e6ade3dfec04934cf2e86d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30af036258fc6fd8f6b86e7500dbef408a6eabf34ae010c36b4490a37f3710f6 [INFO] running `Command { std: "docker" "start" "-a" "30af036258fc6fd8f6b86e7500dbef408a6eabf34ae010c36b4490a37f3710f6", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling fieldx_derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.15s [INFO] running `Command { std: "docker" "inspect" "30af036258fc6fd8f6b86e7500dbef408a6eabf34ae010c36b4490a37f3710f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30af036258fc6fd8f6b86e7500dbef408a6eabf34ae010c36b4490a37f3710f6", kill_on_drop: false }` [INFO] [stdout] 30af036258fc6fd8f6b86e7500dbef408a6eabf34ae010c36b4490a37f3710f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e0baaea1955d8a6ad03227db70b99d8c57491da4655f49c3eb24d56b7d1ae7d [INFO] running `Command { std: "docker" "start" "-a" "3e0baaea1955d8a6ad03227db70b99d8c57491da4655f49c3eb24d56b7d1ae7d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fieldx_derive-a48bbbe9685b85eb) [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 fieldx_derive [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - fxstruct (line 110) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 128) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 157) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 633) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 656) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 77) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 84) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 91) ... ignored [INFO] [stdout] test src/lib.rs - fxstruct (line 325) ... FAILED [INFO] [stdout] test src/lib.rs - fxstruct (line 406) ... FAILED [INFO] [stdout] test src/lib.rs - fxstruct (line 432) ... FAILED [INFO] [stdout] test src/lib.rs - fxstruct (line 559) ... FAILED [INFO] [stdout] test src/lib.rs - fxstruct (line 263) ... FAILED [INFO] [stdout] test src/lib.rs - fxstruct (line 456) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - fxstruct (line 325) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fieldx` [INFO] [stdout] --> src/lib.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fieldx::fxstruct; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fieldx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fieldx`, use `cargo add fieldx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fieldx` in this scope [INFO] [stdout] --> src/lib.rs:329:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[fieldx(default("config.json".to_string()), get)] [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fxstruct (line 406) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fieldx` [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fieldx::fxstruct; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fieldx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fieldx`, use `cargo add fieldx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:413:20 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | ---------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | let mut obj = Foo::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fxstruct (line 432) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fieldx` [INFO] [stdout] --> src/lib.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fieldx::fxstruct; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fieldx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fieldx`, use `cargo add fieldx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | ---------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | let mut obj = Foo::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fxstruct (line 559) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fieldx` [INFO] [stdout] --> src/lib.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fieldx::fxstruct; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fieldx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fieldx`, use `cargo add fieldx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [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: cannot find attribute `fieldx` in this scope [INFO] [stdout] --> src/lib.rs:573:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[fieldx(reader)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BazDup` in this scope [INFO] [stdout] --> src/lib.rs:590:22 [INFO] [stdout] | [INFO] [stdout] 32 | impl From for BazDup { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Baz: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:601:37 [INFO] [stdout] | [INFO] [stdout] 43 | let foo_de = serde_json::from_str::(&json_src).expect("Bar deserialization failure"); [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Baz` [INFO] [stdout] --> src/lib.rs:572:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Baz { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Baz` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `f1` found for struct `Baz` in the current scope [INFO] [stdout] --> src/lib.rs:602:20 [INFO] [stdout] | [INFO] [stdout] 14 | struct Baz { [INFO] [stdout] | ---------- method `f1` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | assert_eq!(*foo_de.f1(), "f1 json".to_string()); [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `f2` found for struct `Baz` in the current scope [INFO] [stdout] --> src/lib.rs:603:20 [INFO] [stdout] | [INFO] [stdout] 14 | struct Baz { [INFO] [stdout] | ---------- method `f2` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(*foo_de.f2(), "f2 from fubar".to_string()); [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fxstruct (line 263) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fieldx` [INFO] [stdout] --> src/lib.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fieldx::fxstruct; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fieldx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fieldx`, use `cargo add fieldx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | ---------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | let obj = Foo::builder() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fxstruct (line 456) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fieldx` [INFO] [stdout] --> src/lib.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fieldx::fxstruct; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fieldx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fieldx`, use `cargo add fieldx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:463:16 [INFO] [stdout] | [INFO] [stdout] 5 | struct Foo { [INFO] [stdout] | ---------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | let obj = Foo::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - fxstruct (line 263) [INFO] [stdout] src/lib.rs - fxstruct (line 325) [INFO] [stdout] src/lib.rs - fxstruct (line 406) [INFO] [stdout] src/lib.rs - fxstruct (line 432) [INFO] [stdout] src/lib.rs - fxstruct (line 456) [INFO] [stdout] src/lib.rs - fxstruct (line 559) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3e0baaea1955d8a6ad03227db70b99d8c57491da4655f49c3eb24d56b7d1ae7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0baaea1955d8a6ad03227db70b99d8c57491da4655f49c3eb24d56b7d1ae7d", kill_on_drop: false }` [INFO] [stdout] 3e0baaea1955d8a6ad03227db70b99d8c57491da4655f49c3eb24d56b7d1ae7d