[INFO] fetching crate get-size-derive2 0.7.1... [INFO] testing get-size-derive2-0.7.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate get-size-derive2 0.7.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate get-size-derive2 0.7.1 [INFO] finished tweaking crates.io crate get-size-derive2 0.7.1 [INFO] tweaked toml for crates.io crate get-size-derive2 0.7.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate get-size-derive2 0.7.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate get-size-derive2 0.7.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.103 [INFO] [stderr] Downloaded attribute-derive v0.10.5 [INFO] [stderr] Downloaded smallvec v1.15.1 [INFO] [stderr] Downloaded unicode-ident v1.0.20 [INFO] [stderr] Downloaded proc-macro-utils v0.10.0 [INFO] [stderr] Downloaded collection_literals v1.0.3 [INFO] [stderr] Downloaded quote-use-macros v0.8.4 [INFO] [stderr] Downloaded quote-use v0.8.4 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded interpolator v0.5.0 [INFO] [stderr] Downloaded attribute-derive-macro v0.10.5 [INFO] [stderr] Downloaded manyhow-macros v0.11.4 [INFO] [stderr] Downloaded manyhow v0.11.4 [INFO] [stderr] Downloaded quote v1.0.41 [INFO] [stderr] Downloaded syn v2.0.108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54891dc9bc678be7fbeab687529d1fbbfdcb046d60622213e9d965b8e7319629 [INFO] running `Command { std: "docker" "start" "-a" "54891dc9bc678be7fbeab687529d1fbbfdcb046d60622213e9d965b8e7319629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54891dc9bc678be7fbeab687529d1fbbfdcb046d60622213e9d965b8e7319629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54891dc9bc678be7fbeab687529d1fbbfdcb046d60622213e9d965b8e7319629", kill_on_drop: false }` [INFO] [stdout] 54891dc9bc678be7fbeab687529d1fbbfdcb046d60622213e9d965b8e7319629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa0b31adf5b21fc68121d46aa339eb02296996ea856c51de288d06427a3843ce [INFO] running `Command { std: "docker" "start" "-a" "fa0b31adf5b21fc68121d46aa339eb02296996ea856c51de288d06427a3843ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling collection_literals v1.0.3 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling syn v2.0.108 [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.5 [INFO] [stderr] Compiling attribute-derive v0.10.5 [INFO] [stderr] Compiling get-size-derive2 v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.23s [INFO] running `Command { std: "docker" "inspect" "fa0b31adf5b21fc68121d46aa339eb02296996ea856c51de288d06427a3843ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0b31adf5b21fc68121d46aa339eb02296996ea856c51de288d06427a3843ce", kill_on_drop: false }` [INFO] [stdout] fa0b31adf5b21fc68121d46aa339eb02296996ea856c51de288d06427a3843ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4633f504c857ae47fbbfa50aede174a729ab3a976cfa542b9b6d2f19e5b0ec7 [INFO] running `Command { std: "docker" "start" "-a" "a4633f504c857ae47fbbfa50aede174a729ab3a976cfa542b9b6d2f19e5b0ec7", kill_on_drop: false }` [INFO] [stderr] Compiling get-size-derive2 v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "a4633f504c857ae47fbbfa50aede174a729ab3a976cfa542b9b6d2f19e5b0ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4633f504c857ae47fbbfa50aede174a729ab3a976cfa542b9b6d2f19e5b0ec7", kill_on_drop: false }` [INFO] [stdout] a4633f504c857ae47fbbfa50aede174a729ab3a976cfa542b9b6d2f19e5b0ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] efa14b26c841788cef9078061af27709bfbcf7bdbe2f1f200c12aeed7c8eeffa [INFO] running `Command { std: "docker" "start" "-a" "efa14b26c841788cef9078061af27709bfbcf7bdbe2f1f200c12aeed7c8eeffa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/get_size_derive2-67feb62c0b3bad18) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests get_size_derive2 [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 268) ... FAILED [INFO] [stdout] test src/./lib.md - (line 160) ... FAILED [INFO] [stdout] test src/./lib.md - (line 11) ... FAILED [INFO] [stdout] test src/./lib.md - (line 70) ... FAILED [INFO] [stdout] test src/./lib.md - (line 195) ... FAILED [INFO] [stdout] test src/./lib.md - (line 231) ... FAILED [INFO] [stdout] test src/./lib.md - (line 32) ... 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] 120 | 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] 131 | #[get_size(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [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] 123 | struct PrimaryStore { [INFO] [stdout] | ------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | 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] 149 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/vec/mod.rs:459:4 [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] 129 | struct SecondaryStore { [INFO] [stdout] | --------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 150 | 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 268) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | 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] 272 | #[get_size(ignore(B, C, D))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 273 + #[derive(GetSize)] [INFO] [stdout] 274 | struct TestStructHelpers { [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] 275 | #[get_size(size = 100)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[get_size(size_fn = get_size_helper)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/./lib.md:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | #[get_size(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [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] 273 | struct TestStructHelpers { [INFO] [stdout] | ------------------------------------ method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 298 | 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 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | 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] 172 | #[get_size(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [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] 170 | struct TestStruct { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 187 | 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 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 15 | pub struct OwnStruct { [INFO] [stdout] | -------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | 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 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 74 | struct TestStructGenerics { [INFO] [stdout] | ------------------------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | 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] 80 | enum TestEnumGenerics { [INFO] [stdout] | --------------------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 96 | 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] 80 | enum TestEnumGenerics { [INFO] [stdout] | --------------------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 100 | 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 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | 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] 209 | #[get_size(size = 1024)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [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] 207 | struct TestStruct { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 219 | 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 231) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size2` [INFO] [stdout] --> src/./lib.md:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 239 | #[get_size(size_fn = vec_alike_helper)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get_size` is an attribute that can be used by the derive macro `GetSize`, you might be missing a `derive` attribute [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] 237 | struct TestStruct { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 260 | 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] ---- 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] 33 | 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] 36 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 52 | 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] 36 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 55 | 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] 36 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 58 | 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] 36 | pub enum TestEnum { [INFO] [stdout] | ----------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 61 | 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] 44 | pub enum TestEnumNumber { [INFO] [stdout] | ----------------------- method `get_heap_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 64 | 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] [stderr] error: doctest failed, to rerun pass `--doc` [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.32s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.62s; merged doctests compilation took 0.29s [INFO] running `Command { std: "docker" "inspect" "efa14b26c841788cef9078061af27709bfbcf7bdbe2f1f200c12aeed7c8eeffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa14b26c841788cef9078061af27709bfbcf7bdbe2f1f200c12aeed7c8eeffa", kill_on_drop: false }` [INFO] [stdout] efa14b26c841788cef9078061af27709bfbcf7bdbe2f1f200c12aeed7c8eeffa