[INFO] fetching crate get-size-derive 0.1.3... [INFO] testing get-size-derive-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate get-size-derive 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate get-size-derive 0.1.3 [INFO] finished tweaking crates.io crate get-size-derive 0.1.3 [INFO] tweaked toml for crates.io crate get-size-derive 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate get-size-derive 0.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding attribute-derive v0.6.1 (available: v0.10.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7b37abbd8859ae3bf0654e471a5b1d9a5c9db0755fff80e0976ed0fd6ade795 [INFO] running `Command { std: "docker" "start" "-a" "a7b37abbd8859ae3bf0654e471a5b1d9a5c9db0755fff80e0976ed0fd6ade795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7b37abbd8859ae3bf0654e471a5b1d9a5c9db0755fff80e0976ed0fd6ade795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b37abbd8859ae3bf0654e471a5b1d9a5c9db0755fff80e0976ed0fd6ade795", kill_on_drop: false }` [INFO] [stdout] a7b37abbd8859ae3bf0654e471a5b1d9a5c9db0755fff80e0976ed0fd6ade795 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91d58a66408b6720e9115342edfeac370bddd7a0ada963bda1df53551fc6282c [INFO] running `Command { std: "docker" "start" "-a" "91d58a66408b6720e9115342edfeac370bddd7a0ada963bda1df53551fc6282c", kill_on_drop: false }` [INFO] [stderr] Compiling get-size-derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "91d58a66408b6720e9115342edfeac370bddd7a0ada963bda1df53551fc6282c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d58a66408b6720e9115342edfeac370bddd7a0ada963bda1df53551fc6282c", kill_on_drop: false }` [INFO] [stdout] 91d58a66408b6720e9115342edfeac370bddd7a0ada963bda1df53551fc6282c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3288fffd32ea9258d4e1ff3dfe3f4184e17d965f06730e3a873ba4d859aad8d [INFO] running `Command { std: "docker" "start" "-a" "f3288fffd32ea9258d4e1ff3dfe3f4184e17d965f06730e3a873ba4d859aad8d", kill_on_drop: false }` [INFO] [stderr] Compiling get-size-derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "f3288fffd32ea9258d4e1ff3dfe3f4184e17d965f06730e3a873ba4d859aad8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3288fffd32ea9258d4e1ff3dfe3f4184e17d965f06730e3a873ba4d859aad8d", kill_on_drop: false }` [INFO] [stdout] f3288fffd32ea9258d4e1ff3dfe3f4184e17d965f06730e3a873ba4d859aad8d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 265ebb0b28acf2e56c5be927eb0a82edef3d3ff99c6433267fafd5e0ac016060 [INFO] running `Command { std: "docker" "start" "-a" "265ebb0b28acf2e56c5be927eb0a82edef3d3ff99c6433267fafd5e0ac016060", 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_derive-5f7369aa90aa406e) [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 get_size_derive [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 231) ... FAILED [INFO] [stdout] test src/lib.rs - (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - (line 160) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` 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.rs: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.rs: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.rs: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.rs: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.rs: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] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 268) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/lib.rs: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.rs: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.rs: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.rs: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.rs: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.rs - (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/lib.rs: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.rs: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.rs - (line 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` 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.rs: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.rs - (line 231) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/lib.rs: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.rs: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.rs - (line 118) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/lib.rs: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.rs: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.rs: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/c2e32f1c9652b13ed99608599c1e855462f421f3/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.rs: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.rs - (line 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get_size` in this scope [INFO] [stdout] --> src/lib.rs: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.rs: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.rs - (line 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `get_size` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use get_size::GetSize; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `get_size` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `get_size`, use `cargo add get_size` 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.rs: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.rs: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.rs: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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 118) [INFO] [stdout] src/lib.rs - (line 160) [INFO] [stdout] src/lib.rs - (line 195) [INFO] [stdout] src/lib.rs - (line 231) [INFO] [stdout] src/lib.rs - (line 268) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "265ebb0b28acf2e56c5be927eb0a82edef3d3ff99c6433267fafd5e0ac016060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265ebb0b28acf2e56c5be927eb0a82edef3d3ff99c6433267fafd5e0ac016060", kill_on_drop: false }` [INFO] [stdout] 265ebb0b28acf2e56c5be927eb0a82edef3d3ff99c6433267fafd5e0ac016060