[INFO] fetching crate get-size-derive2 0.7.0... [INFO] testing get-size-derive2-0.7.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate get-size-derive2 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate get-size-derive2 0.7.0 [INFO] finished tweaking crates.io crate get-size-derive2 0.7.0 [INFO] tweaked toml for crates.io crate get-size-derive2 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate get-size-derive2 0.7.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate get-size-derive2 0.7.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1677f3ce0d7a4d2e165d850ff81805b2ad952997694e0d047dd95147371d2f3 [INFO] running `Command { std: "docker" "start" "-a" "d1677f3ce0d7a4d2e165d850ff81805b2ad952997694e0d047dd95147371d2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1677f3ce0d7a4d2e165d850ff81805b2ad952997694e0d047dd95147371d2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1677f3ce0d7a4d2e165d850ff81805b2ad952997694e0d047dd95147371d2f3", kill_on_drop: false }` [INFO] [stdout] d1677f3ce0d7a4d2e165d850ff81805b2ad952997694e0d047dd95147371d2f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f534a19019be1c8a74a256e4295855647eadd82c7701984afc4b28ad4d08d185 [INFO] running `Command { std: "docker" "start" "-a" "f534a19019be1c8a74a256e4295855647eadd82c7701984afc4b28ad4d08d185", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling attribute-derive v0.10.3 [INFO] [stderr] Compiling get-size-derive2 v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.13s [INFO] running `Command { std: "docker" "inspect" "f534a19019be1c8a74a256e4295855647eadd82c7701984afc4b28ad4d08d185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f534a19019be1c8a74a256e4295855647eadd82c7701984afc4b28ad4d08d185", kill_on_drop: false }` [INFO] [stdout] f534a19019be1c8a74a256e4295855647eadd82c7701984afc4b28ad4d08d185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cb97f5e893d98232225ed68671faeacfe8e6e569c8925bcdcc7deb9799baaa0 [INFO] running `Command { std: "docker" "start" "-a" "1cb97f5e893d98232225ed68671faeacfe8e6e569c8925bcdcc7deb9799baaa0", kill_on_drop: false }` [INFO] [stderr] Compiling get-size-derive2 v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "1cb97f5e893d98232225ed68671faeacfe8e6e569c8925bcdcc7deb9799baaa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb97f5e893d98232225ed68671faeacfe8e6e569c8925bcdcc7deb9799baaa0", kill_on_drop: false }` [INFO] [stdout] 1cb97f5e893d98232225ed68671faeacfe8e6e569c8925bcdcc7deb9799baaa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec34ac4baf98d7a9b046eea234db5c6fb95c9f78810030c519833b40ad8cb8d2 [INFO] running `Command { std: "docker" "start" "-a" "ec34ac4baf98d7a9b046eea234db5c6fb95c9f78810030c519833b40ad8cb8d2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/get_size_derive2-744ce7f99ebdee30) [INFO] [stderr] Doc-tests get_size_derive2 [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] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/./lib.md - (line 118) ... FAILED [INFO] [stdout] test src/./lib.md - (line 195) ... FAILED [INFO] [stdout] test src/./lib.md - (line 70) ... FAILED [INFO] [stdout] test src/./lib.md - (line 160) ... FAILED [INFO] [stdout] test src/./lib.md - (line 268) ... FAILED [INFO] [stdout] test src/./lib.md - (line 11) ... FAILED [INFO] [stdout] test src/./lib.md - (line 32) ... FAILED [INFO] [stdout] test src/./lib.md - (line 231) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/./lib.md - (line 118) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:120:5 [INFO] [stdout] | [INFO] [stdout] 3 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:131:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[get_size(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `PrimaryStore` in the current scope [INFO] [stdout] --> src/./lib.md:149:27 [INFO] [stdout] | [INFO] [stdout] 6 | struct PrimaryStore { [INFO] [stdout] | ------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | assert_eq!(primary_data.get_heap_size(), Vec::::get_stack_size() + 1024); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PrimaryStore` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_stack_size` found for struct `Vec` in the current scope [INFO] [stdout] --> src/./lib.md:149:55 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(primary_data.get_heap_size(), Vec::::get_stack_size() + 1024); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `SecondaryStore` in the current scope [INFO] [stdout] --> src/./lib.md:150:29 [INFO] [stdout] | [INFO] [stdout] 12 | struct SecondaryStore { [INFO] [stdout] | --------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(secondary_data.get_heap_size(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SecondaryStore` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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.md - (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:196:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:209:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[get_size(size = 1024)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope [INFO] [stdout] --> src/./lib.md:219:19 [INFO] [stdout] | [INFO] [stdout] 13 | struct TestStruct { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(test.get_heap_size(), 1024); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestStruct` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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.md - (line 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:71:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenerics` in the current scope [INFO] [stdout] --> src/./lib.md:91:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct TestStructGenerics { [INFO] [stdout] | ------------------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert_eq!(test.get_heap_size(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestStructGenerics` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope [INFO] [stdout] --> src/./lib.md:96:21 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestEnumGenerics { [INFO] [stdout] | --------------------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(test.get_heap_size(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnumGenerics` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope [INFO] [stdout] --> src/./lib.md:100:21 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestEnumGenerics { [INFO] [stdout] | --------------------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 31 | assert_eq!(test.get_heap_size(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnumGenerics` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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.md - (line 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:161:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:172:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[get_size(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope [INFO] [stdout] --> src/./lib.md:187:19 [INFO] [stdout] | [INFO] [stdout] 11 | struct TestStruct { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(test.get_heap_size(), 4); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestStruct` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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.md - (line 268) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:269:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:272:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[get_size(ignore(B, C, D))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:275:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[get_size(size = 100)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:277:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[get_size(size_fn = get_size_helper)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:279:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[get_size(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructHelpers` in the current scope [INFO] [stdout] --> src/./lib.md:298:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStructHelpers { [INFO] [stdout] | ------------------------------------ method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assert_eq!(test.get_heap_size(), 5 + 100 + 50); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestStructHelpers` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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.md - (line 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:12:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `OwnStruct` in the current scope [INFO] [stdout] --> src/./lib.md:26:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OwnStruct { [INFO] [stdout] | -------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | assert_eq!(test.get_heap_size(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OwnStruct` [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.md - (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:33:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope [INFO] [stdout] --> src/./lib.md:52:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(test.get_heap_size(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope [INFO] [stdout] --> src/./lib.md:55:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(test.get_heap_size(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope [INFO] [stdout] --> src/./lib.md:58:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(test.get_heap_size(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope [INFO] [stdout] --> src/./lib.md:61:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | assert_eq!(test.get_heap_size(), 5 + 5); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumNumber` in the current scope [INFO] [stdout] --> src/./lib.md:64:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum TestEnumNumber { [INFO] [stdout] | ----------------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(test.get_heap_size(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestEnumNumber` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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.md - (line 231) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:232:5 [INFO] [stdout] | [INFO] [stdout] 2 | use get_size2::GetSize; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:239:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[get_size(size_fn = vec_alike_helper)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope [INFO] [stdout] --> src/./lib.md:260:19 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestStruct { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | assert_eq!(test.get_heap_size(), 512); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TestStruct` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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.md - (line 11) [INFO] [stdout] src/./lib.md - (line 118) [INFO] [stdout] src/./lib.md - (line 160) [INFO] [stdout] src/./lib.md - (line 195) [INFO] [stdout] src/./lib.md - (line 231) [INFO] [stdout] src/./lib.md - (line 268) [INFO] [stdout] src/./lib.md - (line 32) [INFO] [stdout] src/./lib.md - (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.83s; merged doctests compilation took 0.29s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ec34ac4baf98d7a9b046eea234db5c6fb95c9f78810030c519833b40ad8cb8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec34ac4baf98d7a9b046eea234db5c6fb95c9f78810030c519833b40ad8cb8d2", kill_on_drop: false }` [INFO] [stdout] ec34ac4baf98d7a9b046eea234db5c6fb95c9f78810030c519833b40ad8cb8d2