[INFO] fetching crate get-size-derive2 0.7.0...
[INFO] testing get-size-derive2-0.7.0 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate get-size-derive2 0.7.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate get-size-derive2 0.7.0 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07354dfc5e8bfe6f17135f29984d2410396801b70c1bc2dcb7b0e8069207ee80
[INFO] running `Command { std: "docker" "start" "-a" "07354dfc5e8bfe6f17135f29984d2410396801b70c1bc2dcb7b0e8069207ee80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07354dfc5e8bfe6f17135f29984d2410396801b70c1bc2dcb7b0e8069207ee80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07354dfc5e8bfe6f17135f29984d2410396801b70c1bc2dcb7b0e8069207ee80", kill_on_drop: false }`
[INFO] [stdout] 07354dfc5e8bfe6f17135f29984d2410396801b70c1bc2dcb7b0e8069207ee80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9ed4e7e7f95071da5b11678a857e6cf462209d374167d7da497460742492a0b
[INFO] running `Command { std: "docker" "start" "-a" "d9ed4e7e7f95071da5b11678a857e6cf462209d374167d7da497460742492a0b", kill_on_drop: false }`
[INFO] [stderr] Compiling interpolator v0.5.0
[INFO] [stderr] Compiling collection_literals v1.0.2
[INFO] [stderr] Compiling quote v1.0.40
[INFO] [stderr] Compiling proc-macro-utils v0.10.0
[INFO] [stderr] Compiling syn v2.0.106
[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.97s
[INFO] running `Command { std: "docker" "inspect" "d9ed4e7e7f95071da5b11678a857e6cf462209d374167d7da497460742492a0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9ed4e7e7f95071da5b11678a857e6cf462209d374167d7da497460742492a0b", kill_on_drop: false }`
[INFO] [stdout] d9ed4e7e7f95071da5b11678a857e6cf462209d374167d7da497460742492a0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 806d4a4f306e9c74b98715c37a18ffe42346e04baf0f22722d32c5cdb599329a
[INFO] running `Command { std: "docker" "start" "-a" "806d4a4f306e9c74b98715c37a18ffe42346e04baf0f22722d32c5cdb599329a", 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.90s
[INFO] running `Command { std: "docker" "inspect" "806d4a4f306e9c74b98715c37a18ffe42346e04baf0f22722d32c5cdb599329a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "806d4a4f306e9c74b98715c37a18ffe42346e04baf0f22722d32c5cdb599329a", kill_on_drop: false }`
[INFO] [stdout] 806d4a4f306e9c74b98715c37a18ffe42346e04baf0f22722d32c5cdb599329a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cb5de3a535241e7343365113fa7b8c48f53fcc28f0c767f70faea55960abbe1a
[INFO] running `Command { std: "docker" "start" "-a" "cb5de3a535241e7343365113fa7b8c48f53fcc28f0c767f70faea55960abbe1a", kill_on_drop: false }`
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/get_size_derive2-4f555e23e096ab97)
[INFO] [stdout]
[INFO] [stderr] Doc-tests get_size_derive2
[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 160) ... FAILED
[INFO] [stdout] test src/./lib.md - (line 231) ... FAILED
[INFO] [stdout] test src/./lib.md - (line 195) ... 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 70) ... FAILED
[INFO] [stdout] test src/./lib.md - (line 118) ... FAILED
[INFO] [stdout] test src/./lib.md - (line 32) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[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] = 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] 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 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] = 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] 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] ---- 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] = 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] 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 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] 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] 6 + #[derive(GetSize)]
[INFO] [stdout] 7 | 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] 8 | #[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] 10 | #[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] 12 | #[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] 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 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 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] = 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] 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/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/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 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]
[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.42s
[INFO] [stdout]
[INFO] [stdout] all doctests ran in 0.69s; merged doctests compilation took 0.27s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cb5de3a535241e7343365113fa7b8c48f53fcc28f0c767f70faea55960abbe1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb5de3a535241e7343365113fa7b8c48f53fcc28f0c767f70faea55960abbe1a", kill_on_drop: false }`
[INFO] [stdout] cb5de3a535241e7343365113fa7b8c48f53fcc28f0c767f70faea55960abbe1a