[INFO] fetching crate ruex-macro 0.1.3... [INFO] testing ruex-macro-0.1.3 against 1.86.0 for beta-1.87-1 [INFO] extracting crate ruex-macro 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ruex-macro 0.1.3 on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ruex-macro 0.1.3 [INFO] finished tweaking crates.io crate ruex-macro 0.1.3 [INFO] tweaked toml for crates.io crate ruex-macro 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding serde_tokenstream v0.1.7 (available: v0.2.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.100) [INFO] [stderr] Adding syn-serde v0.2.4 (available: v0.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-companion v0.1.1 [INFO] [stderr] Downloaded syn-serde v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7907111ea72879eeac1c0646b7073fe6d9b0d36def48820fda2c5acd34345af1 [INFO] running `Command { std: "docker" "start" "-a" "7907111ea72879eeac1c0646b7073fe6d9b0d36def48820fda2c5acd34345af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7907111ea72879eeac1c0646b7073fe6d9b0d36def48820fda2c5acd34345af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7907111ea72879eeac1c0646b7073fe6d9b0d36def48820fda2c5acd34345af1", kill_on_drop: false }` [INFO] [stdout] 7907111ea72879eeac1c0646b7073fe6d9b0d36def48820fda2c5acd34345af1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4db851a0e72428ae3d22760ca31113be545cad5449a94d1edf8ea45bd05da779 [INFO] running `Command { std: "docker" "start" "-a" "4db851a0e72428ae3d22760ca31113be545cad5449a94d1edf8ea45bd05da779", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling sysinfo v0.28.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling rust-companion v0.1.1 [INFO] [stderr] Compiling syn-serde v0.2.4 [INFO] [stderr] Compiling ruex-macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `disable_contracts` [INFO] [stdout] --> src/impls/contract_aspect.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | if cfg!(feature = "disable_contracts") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `disable_contracts` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `override_debug` [INFO] [stdout] --> src/impls/contract_aspect.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | } else if cfg!(feature = "override_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `override_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `override_log` [INFO] [stdout] --> src/impls/contract_aspect.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | } else if cfg!(feature = "override_log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `override_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.80s [INFO] running `Command { std: "docker" "inspect" "4db851a0e72428ae3d22760ca31113be545cad5449a94d1edf8ea45bd05da779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db851a0e72428ae3d22760ca31113be545cad5449a94d1edf8ea45bd05da779", kill_on_drop: false }` [INFO] [stdout] 4db851a0e72428ae3d22760ca31113be545cad5449a94d1edf8ea45bd05da779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7c3fa4e4723e6bdc932265c508f7bf7af777b13a71606bfdbcd7ec81a6b8dd4 [INFO] running `Command { std: "docker" "start" "-a" "c7c3fa4e4723e6bdc932265c508f7bf7af777b13a71606bfdbcd7ec81a6b8dd4", kill_on_drop: false }` [INFO] [stderr] Compiling ruex-macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `disable_contracts` [INFO] [stdout] --> src/impls/contract_aspect.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | if cfg!(feature = "disable_contracts") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `disable_contracts` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `override_debug` [INFO] [stdout] --> src/impls/contract_aspect.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | } else if cfg!(feature = "override_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `override_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `override_log` [INFO] [stdout] --> src/impls/contract_aspect.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | } else if cfg!(feature = "override_log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `override_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disable_contracts` [INFO] [stdout] --> src/impls/contract_aspect.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | if cfg!(feature = "disable_contracts") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `disable_contracts` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `override_debug` [INFO] [stdout] --> src/impls/contract_aspect.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | } else if cfg!(feature = "override_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `override_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `override_log` [INFO] [stdout] --> src/impls/contract_aspect.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | } else if cfg!(feature = "override_log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `override_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.20s [INFO] running `Command { std: "docker" "inspect" "c7c3fa4e4723e6bdc932265c508f7bf7af777b13a71606bfdbcd7ec81a6b8dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c3fa4e4723e6bdc932265c508f7bf7af777b13a71606bfdbcd7ec81a6b8dd4", kill_on_drop: false }` [INFO] [stdout] c7c3fa4e4723e6bdc932265c508f7bf7af777b13a71606bfdbcd7ec81a6b8dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4e0cec66eb15c614c3c0a40e959b23282c7e6eff0ece47c6497b36ffade77af [INFO] running `Command { std: "docker" "start" "-a" "f4e0cec66eb15c614c3c0a40e959b23282c7e6eff0ece47c6497b36ffade77af", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `disable_contracts` [INFO] [stderr] --> src/impls/contract_aspect.rs:261:17 [INFO] [stderr] | [INFO] [stderr] 261 | if cfg!(feature = "disable_contracts") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `disable_contracts` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `override_debug` [INFO] [stderr] --> src/impls/contract_aspect.rs:263:24 [INFO] [stderr] | [INFO] [stderr] 263 | } else if cfg!(feature = "override_debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `override_debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `override_log` [INFO] [stderr] --> src/impls/contract_aspect.rs:270:24 [INFO] [stderr] | [INFO] [stderr] 270 | } else if cfg!(feature = "override_log") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `override_log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `ruex-macro` (lib) generated 3 warnings [INFO] [stderr] warning: `ruex-macro` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruex_macro-ac4aea48972e4125) [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 ruex_macro [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - main (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 283) ... FAILED [INFO] [stdout] test src/lib.rs - delegate (line 237) ... FAILED [INFO] [stdout] test src/lib.rs - delegate (line 260) ... FAILED [INFO] [stdout] test src/lib.rs - delegate (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - delegate (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - delegate (line 182) ... FAILED [INFO] [stdout] test src/lib.rs - main (line 47) - compile ... FAILED [INFO] [stdout] test src/lib.rs - decorate (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - decorate (line 122) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - main (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ruex` [INFO] [stdout] --> src/lib.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ruex::main { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ruex` [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/lib.rs - mock (line 283) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ruex` [INFO] [stdout] --> src/lib.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ruex::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ruex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ruex`, use `cargo add ruex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mock` in this scope [INFO] [stdout] --> src/lib.rs:288:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[mock] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use ruex_macro::mock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo; [INFO] [stdout] | ---------- function or associated item `mock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let nurse = Foo::mock().heal(|value, direction| 123).build(); [INFO] [stdout] | ^^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - delegate (line 237) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn method(&self, num: u32) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn method_noreturn(&self, num: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `delegate_attr` [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 4 | use delegate_attr::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `delegate_attr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `delegate_attr`, use `cargo add delegate_attr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into` in this scope [INFO] [stdout] --> src/lib.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[into] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `call` in this scope [INFO] [stdout] --> src/lib.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[call(method)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - delegate (line 260) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn len(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `delegate_attr` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 4 | use delegate_attr::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `delegate_attr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `delegate_attr`, use `cargo add delegate_attr` to add it to your `Cargo.toml` [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 - delegate (line 164) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn as_str(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn into_bytes(self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `delegate_attr` [INFO] [stdout] --> src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 4 | use delegate_attr::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `delegate_attr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `delegate_attr`, use `cargo add delegate_attr` to add it to your `Cargo.toml` [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 - delegate (line 206) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn len(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 17 | fn push(&self, value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn into_boxed_slice(self) -> Box<[T]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `delegate_attr` [INFO] [stdout] --> src/lib.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 4 | use delegate_attr::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `delegate_attr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `delegate_attr`, use `cargo add delegate_attr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 - delegate (line 182) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn next(&mut self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn count(self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn size_hint(&self) -> (usize, Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn last(self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `delegate_attr` [INFO] [stdout] --> src/lib.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 4 | use delegate_attr::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `delegate_attr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `delegate_attr`, use `cargo add delegate_attr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - main (line 47) stdout ---- [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[default] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a derive [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Default)] [INFO] [stdout] 15 | enum LogOutput { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[default] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a derive [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Default)] [INFO] [stdout] 22 | enum LogLevel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[default] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a derive [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Default)] [INFO] [stdout] 35 | enum BactraceLevel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - decorate (line 97) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ruex` [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ruex::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ruex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ruex`, use `cargo add ruex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `decorate` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[decorate(logging)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use ruex_macro::decorate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - decorate (line 122) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ruex` [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ruex::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ruex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ruex`, use `cargo add ruex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `decorate` in this scope [INFO] [stdout] --> src/lib.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[decorate(logging("test.log"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use ruex_macro::decorate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - decorate (line 122) [INFO] [stdout] src/lib.rs - decorate (line 97) [INFO] [stdout] src/lib.rs - delegate (line 164) [INFO] [stdout] src/lib.rs - delegate (line 182) [INFO] [stdout] src/lib.rs - delegate (line 206) [INFO] [stdout] src/lib.rs - delegate (line 237) [INFO] [stdout] src/lib.rs - delegate (line 260) [INFO] [stdout] src/lib.rs - main (line 31) [INFO] [stdout] src/lib.rs - main (line 47) [INFO] [stdout] src/lib.rs - mock (line 283) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f4e0cec66eb15c614c3c0a40e959b23282c7e6eff0ece47c6497b36ffade77af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e0cec66eb15c614c3c0a40e959b23282c7e6eff0ece47c6497b36ffade77af", kill_on_drop: false }` [INFO] [stdout] f4e0cec66eb15c614c3c0a40e959b23282c7e6eff0ece47c6497b36ffade77af