[INFO] fetching crate get-size 0.1.4...
[INFO] checking get-size-0.1.4 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate get-size 0.1.4 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate get-size 0.1.4 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive-where v1.2.7
[INFO] [stderr]   Downloaded get-size-derive v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 403a0040b5e6764e672f09f5fcb917e1a9b96fd1bc86ecf49c79d527af027461
[INFO] running `Command { std: "docker" "start" "-a" "403a0040b5e6764e672f09f5fcb917e1a9b96fd1bc86ecf49c79d527af027461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "403a0040b5e6764e672f09f5fcb917e1a9b96fd1bc86ecf49c79d527af027461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "403a0040b5e6764e672f09f5fcb917e1a9b96fd1bc86ecf49c79d527af027461", kill_on_drop: false }`
[INFO] [stdout] 403a0040b5e6764e672f09f5fcb917e1a9b96fd1bc86ecf49c79d527af027461
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f256007aed876090662a5839f33495572c2e522c9ac52d7c45971570cdb6ad0e
[INFO] running `Command { std: "docker" "start" "-a" "f256007aed876090662a5839f33495572c2e522c9ac52d7c45971570cdb6ad0e", 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" "f256007aed876090662a5839f33495572c2e522c9ac52d7c45971570cdb6ad0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f256007aed876090662a5839f33495572c2e522c9ac52d7c45971570cdb6ad0e", kill_on_drop: false }`
[INFO] [stdout] f256007aed876090662a5839f33495572c2e522c9ac52d7c45971570cdb6ad0e
[INFO] checking get-size-0.1.4 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate get-size 0.1.4 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate get-size 0.1.4 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4bfb0ed57dff39b7c1969c16b4cbcd4acab2b0eb239793e3a9384256bd99454
[INFO] running `Command { std: "docker" "start" "-a" "c4bfb0ed57dff39b7c1969c16b4cbcd4acab2b0eb239793e3a9384256bd99454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4bfb0ed57dff39b7c1969c16b4cbcd4acab2b0eb239793e3a9384256bd99454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4bfb0ed57dff39b7c1969c16b4cbcd4acab2b0eb239793e3a9384256bd99454", kill_on_drop: false }`
[INFO] [stdout] c4bfb0ed57dff39b7c1969c16b4cbcd4acab2b0eb239793e3a9384256bd99454
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 825e48674646fec8def2207e6a42fa2de9bf8edf917c6169fbffe35a02cff023
[INFO] running `Command { std: "docker" "start" "-a" "825e48674646fec8def2207e6a42fa2de9bf8edf917c6169fbffe35a02cff023", 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" "825e48674646fec8def2207e6a42fa2de9bf8edf917c6169fbffe35a02cff023", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "825e48674646fec8def2207e6a42fa2de9bf8edf917c6169fbffe35a02cff023", kill_on_drop: false }`
[INFO] [stdout] 825e48674646fec8def2207e6a42fa2de9bf8edf917c6169fbffe35a02cff023
