[INFO] fetching crate get-size-derive2 0.7.1...
[INFO] testing get-size-derive2-0.7.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate get-size-derive2 0.7.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate get-size-derive2 0.7.1 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] 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1212ca525a7dea6a7422c7bc23dfa9bce407f541eaebe7e75223fdbdebe32896
[INFO] running `Command { std: "docker" "start" "-a" "1212ca525a7dea6a7422c7bc23dfa9bce407f541eaebe7e75223fdbdebe32896", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1212ca525a7dea6a7422c7bc23dfa9bce407f541eaebe7e75223fdbdebe32896", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1212ca525a7dea6a7422c7bc23dfa9bce407f541eaebe7e75223fdbdebe32896", kill_on_drop: false }`
[INFO] [stdout] 1212ca525a7dea6a7422c7bc23dfa9bce407f541eaebe7e75223fdbdebe32896
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4331b63110fa1310778ad181bf84fd810bf3ee68a486b216379635e5a5a825a5
[INFO] running `Command { std: "docker" "start" "-a" "4331b63110fa1310778ad181bf84fd810bf3ee68a486b216379635e5a5a825a5", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.103
[INFO] [stderr] Compiling quote v1.0.41
[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 11.16s
[INFO] running `Command { std: "docker" "inspect" "4331b63110fa1310778ad181bf84fd810bf3ee68a486b216379635e5a5a825a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4331b63110fa1310778ad181bf84fd810bf3ee68a486b216379635e5a5a825a5", kill_on_drop: false }`
[INFO] [stdout] 4331b63110fa1310778ad181bf84fd810bf3ee68a486b216379635e5a5a825a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 52c8c95e9ca7a3f6c604e3e36f755b5e2859ef49785392b568125a490eb46a46
[INFO] running `Command { std: "docker" "start" "-a" "52c8c95e9ca7a3f6c604e3e36f755b5e2859ef49785392b568125a490eb46a46", 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 0.74s
[INFO] running `Command { std: "docker" "inspect" "52c8c95e9ca7a3f6c604e3e36f755b5e2859ef49785392b568125a490eb46a46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52c8c95e9ca7a3f6c604e3e36f755b5e2859ef49785392b568125a490eb46a46", kill_on_drop: false }`
[INFO] [stdout] 52c8c95e9ca7a3f6c604e3e36f755b5e2859ef49785392b568125a490eb46a46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a84a049792e1d405d48ae635a268c9be05b5605bff90da317d79ec964f6acbdf
[INFO] running `Command { std: "docker" "start" "-a" "a84a049792e1d405d48ae635a268c9be05b5605bff90da317d79ec964f6acbdf", 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-67feb62c0b3bad18)
[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_derive2
[INFO] [stdout]
[INFO] [stdout] running 8 tests
[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 32) ... 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 268) ... FAILED
[INFO] [stdout] test src/./lib.md - (line 231) ... FAILED
[INFO] [stdout] test src/./lib.md - (line 118) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[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 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] [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 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 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 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/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.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]
[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.49s
[INFO] [stdout]
[INFO] [stdout] all doctests ran in 0.88s; merged doctests compilation took 0.39s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a84a049792e1d405d48ae635a268c9be05b5605bff90da317d79ec964f6acbdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a84a049792e1d405d48ae635a268c9be05b5605bff90da317d79ec964f6acbdf", kill_on_drop: false }`
[INFO] [stdout] a84a049792e1d405d48ae635a268c9be05b5605bff90da317d79ec964f6acbdf