[INFO] fetching crate get-size 0.1.4...
[INFO] checking get-size-0.1.4 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate get-size 0.1.4 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate get-size 0.1.4 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate get-size 0.1.4
[INFO] finished tweaking crates.io crate get-size 0.1.4
[INFO] tweaked toml for crates.io crate get-size 0.1.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded attribute-derive v0.6.1
[INFO] [stderr]   Downloaded get-size-derive v0.1.3
[INFO] [stderr]   Downloaded attribute-derive-macro v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5bb51dc1612f94b37c9d425a04bb6abeaf6f39a5ab2f5c35f0931708bd5b6bd8
[INFO] running `Command { std: "docker" "start" "-a" "5bb51dc1612f94b37c9d425a04bb6abeaf6f39a5ab2f5c35f0931708bd5b6bd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bb51dc1612f94b37c9d425a04bb6abeaf6f39a5ab2f5c35f0931708bd5b6bd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bb51dc1612f94b37c9d425a04bb6abeaf6f39a5ab2f5c35f0931708bd5b6bd8", kill_on_drop: false }`
[INFO] [stdout] 5bb51dc1612f94b37c9d425a04bb6abeaf6f39a5ab2f5c35f0931708bd5b6bd8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6208d523fe5c32083321b8617261500bed365a6191e770ee62b147fc28f0ed24
[INFO] running `Command { std: "docker" "start" "-a" "6208d523fe5c32083321b8617261500bed365a6191e770ee62b147fc28f0ed24", kill_on_drop: false }`
[INFO] [stderr]     Checking get-size v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]  --> src/tests/mod.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(GetSize)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/tests/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 |     #[get_size(size = 100)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[get_size(size_fn = get_size_helper)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[derive(Clone, GetSize)]
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:219:10
[INFO] [stdout]     |
[INFO] [stdout] 219 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:239:10
[INFO] [stdout]     |
[INFO] [stdout] 239 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TestStruct {
[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 `TestStruct`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStruct` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 16 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenerics` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct TestStructGenerics<A, B> {
[INFO] [stdout]    | ----------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenerics<String, u64>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenerics<String, u64>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 33 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsIgnore` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct TestStructGenericsIgnore<A, B, C> {
[INFO] [stdout]    | ---------------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsIgnore<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenericsIgnore<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 65 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 65 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 65 |     assert_eq!(test.value3.value.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructHelpers` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct TestStructHelpers<A, B, C> {
[INFO] [stdout]    | --------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     assert_eq!(test.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructHelpers<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructHelpers<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 96 |     assert_eq!(test.value1.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 96 |     assert_eq!(test.value2.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 96 |     assert_eq!(test.value3.value.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsLifetimes` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct TestStructGenericsLifetimes<'a, A, B> {
[INFO] [stdout]     | ------------------------------------------------ method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 115 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsLifetimes<'_, String, u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestStructGenericsLifetimes<'_, String, u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 115 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 115 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 133 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 136 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 139 |     assert_eq!(test.get_heap_size(), 6);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 146 |     assert_eq!(test.get_heap_size(), 4 + 16);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:154:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 154 |     assert_eq!(test.get_heap_size(), 11);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 157 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 160 |     assert_eq!(test.get_heap_size(), 5 + 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:174:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 174 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 177 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:185:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 185 |     assert_eq!(test.get_heap_size(), 0); // It is a pointer.
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 192 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 201 |     assert_eq!(test.get_heap_size(), 4);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<String>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<String>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:204:21
[INFO] [stdout]     |
[INFO] [stdout] 192 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 204 |     assert_eq!(test.get_heap_size(), 8*27);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:215:21
[INFO] [stdout]     |
[INFO] [stdout] 192 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 215 |     assert_eq!(test.get_heap_size(), 8*std::mem::size_of::<Node<u64>>());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:229:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 229 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 232 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:235:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 235 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_size` found for struct `TestNewType` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:245:44
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub struct TestNewType(u64);
[INFO] [stdout]     | ---------------------- method `get_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 245 |     assert_eq!(u64::get_stack_size(), test.get_size());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `TestNewType`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:86:8
[INFO] [stdout]     |
[INFO] [stdout] 86  |     fn get_size(&self) -> usize {
[INFO] [stdout]     |        -------- the method is available for `&mut TestNewType` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 245 |     assert_eq!(u64::get_stack_size(), test.0.get_size());
[INFO] [stdout]     |                                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size` (lib test) due to 39 previous errors
[INFO] running `Command { std: "docker" "inspect" "6208d523fe5c32083321b8617261500bed365a6191e770ee62b147fc28f0ed24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6208d523fe5c32083321b8617261500bed365a6191e770ee62b147fc28f0ed24", kill_on_drop: false }`
[INFO] [stdout] 6208d523fe5c32083321b8617261500bed365a6191e770ee62b147fc28f0ed24
[INFO] checking get-size-0.1.4 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate get-size 0.1.4 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate get-size 0.1.4 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate get-size 0.1.4
[INFO] finished tweaking crates.io crate get-size 0.1.4
[INFO] tweaked toml for crates.io crate get-size 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97263d7572c4439ad96f9db85784fee445e863bca17d2e1a218b1e1c5aff8bdd
[INFO] running `Command { std: "docker" "start" "-a" "97263d7572c4439ad96f9db85784fee445e863bca17d2e1a218b1e1c5aff8bdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97263d7572c4439ad96f9db85784fee445e863bca17d2e1a218b1e1c5aff8bdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97263d7572c4439ad96f9db85784fee445e863bca17d2e1a218b1e1c5aff8bdd", kill_on_drop: false }`
[INFO] [stdout] 97263d7572c4439ad96f9db85784fee445e863bca17d2e1a218b1e1c5aff8bdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 1d0106aefdd1582a555499a710d06eeb8302d7346c253d9c0f6a8ac73b0a3b17
[INFO] running `Command { std: "docker" "start" "-a" "1d0106aefdd1582a555499a710d06eeb8302d7346c253d9c0f6a8ac73b0a3b17", kill_on_drop: false }`
[INFO] [stderr]     Checking get-size v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![cfg_attr(docsrs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]  --> src/tests/mod.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(GetSize)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/tests/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 |     #[get_size(size = 100)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[get_size(size_fn = get_size_helper)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[derive(Clone, GetSize)]
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:219:10
[INFO] [stdout]     |
[INFO] [stdout] 219 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:239:10
[INFO] [stdout]     |
[INFO] [stdout] 239 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![cfg_attr(docsrs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TestStruct {
[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 `TestStruct`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStruct` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 16 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenerics` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct TestStructGenerics<A, B> {
[INFO] [stdout]    | ----------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenerics<String, u64>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenerics<String, u64>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 33 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsIgnore` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct TestStructGenericsIgnore<A, B, C> {
[INFO] [stdout]    | ---------------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsIgnore<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenericsIgnore<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 65 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 65 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 65 |     assert_eq!(test.value3.value.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructHelpers` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct TestStructHelpers<A, B, C> {
[INFO] [stdout]    | --------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     assert_eq!(test.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructHelpers<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructHelpers<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 96 |     assert_eq!(test.value1.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 96 |     assert_eq!(test.value2.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 96 |     assert_eq!(test.value3.value.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsLifetimes` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct TestStructGenericsLifetimes<'a, A, B> {
[INFO] [stdout]     | ------------------------------------------------ method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 115 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsLifetimes<'_, String, u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestStructGenericsLifetimes<'_, String, u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 115 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 115 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 133 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 136 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 139 |     assert_eq!(test.get_heap_size(), 6);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 146 |     assert_eq!(test.get_heap_size(), 4 + 16);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:154:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 154 |     assert_eq!(test.get_heap_size(), 11);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 157 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 160 |     assert_eq!(test.get_heap_size(), 5 + 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:174:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 174 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 177 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:185:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 185 |     assert_eq!(test.get_heap_size(), 0); // It is a pointer.
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 192 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 201 |     assert_eq!(test.get_heap_size(), 4);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<String>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<String>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:204:21
[INFO] [stdout]     |
[INFO] [stdout] 192 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 204 |     assert_eq!(test.get_heap_size(), 8*27);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:215:21
[INFO] [stdout]     |
[INFO] [stdout] 192 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 215 |     assert_eq!(test.get_heap_size(), 8*std::mem::size_of::<Node<u64>>());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:229:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 229 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 232 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:235:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 235 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_size` found for struct `TestNewType` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:245:44
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub struct TestNewType(u64);
[INFO] [stdout]     | ---------------------- method `get_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 245 |     assert_eq!(u64::get_stack_size(), test.get_size());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `TestNewType`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:86:8
[INFO] [stdout]     |
[INFO] [stdout] 86  |     fn get_size(&self) -> usize {
[INFO] [stdout]     |        -------- the method is available for `&mut TestNewType` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 245 |     assert_eq!(u64::get_stack_size(), test.0.get_size());
[INFO] [stdout]     |                                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 39 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size` (lib test) due to 40 previous errors
[INFO] running `Command { std: "docker" "inspect" "1d0106aefdd1582a555499a710d06eeb8302d7346c253d9c0f6a8ac73b0a3b17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d0106aefdd1582a555499a710d06eeb8302d7346c253d9c0f6a8ac73b0a3b17", kill_on_drop: false }`
[INFO] [stdout] 1d0106aefdd1582a555499a710d06eeb8302d7346c253d9c0f6a8ac73b0a3b17
