[INFO] fetching crate actix-telegram-derive 0.2.2...
[INFO] testing actix-telegram-derive-0.2.2 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate actix-telegram-derive 0.2.2 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate actix-telegram-derive 0.2.2 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate actix-telegram-derive 0.2.2
[INFO] finished tweaking crates.io crate actix-telegram-derive 0.2.2
[INFO] tweaked toml for crates.io crate actix-telegram-derive 0.2.2 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cc4b7c7038eb0ddad4fc93898df185628b6fd0c344ca8ebe253b8a84bda1c22
[INFO] running `Command { std: "docker" "start" "-a" "2cc4b7c7038eb0ddad4fc93898df185628b6fd0c344ca8ebe253b8a84bda1c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cc4b7c7038eb0ddad4fc93898df185628b6fd0c344ca8ebe253b8a84bda1c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cc4b7c7038eb0ddad4fc93898df185628b6fd0c344ca8ebe253b8a84bda1c22", kill_on_drop: false }`
[INFO] [stdout] 2cc4b7c7038eb0ddad4fc93898df185628b6fd0c344ca8ebe253b8a84bda1c22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a270dee91f00a48f37a017b206e544618bafc67df83debf1ead8625c3bcbfdd
[INFO] running `Command { std: "docker" "start" "-a" "3a270dee91f00a48f37a017b206e544618bafc67df83debf1ead8625c3bcbfdd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling actix-telegram-derive v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:327:51
[INFO] [stdout]     |
[INFO] [stdout] 327 | fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 327 - fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stdout] 327 + fn file_fields(fields: FieldsNamed) -> Option<Box<dyn ToTokens>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 227 -     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout] 227 +     let file_fields: Option<Box<dyn ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.41s
[INFO] running `Command { std: "docker" "inspect" "3a270dee91f00a48f37a017b206e544618bafc67df83debf1ead8625c3bcbfdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a270dee91f00a48f37a017b206e544618bafc67df83debf1ead8625c3bcbfdd", kill_on_drop: false }`
[INFO] [stdout] 3a270dee91f00a48f37a017b206e544618bafc67df83debf1ead8625c3bcbfdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03405e0c0c5ec478b71595649089ee90562150b507577dd0382138af4e737cb0
[INFO] running `Command { std: "docker" "start" "-a" "03405e0c0c5ec478b71595649089ee90562150b507577dd0382138af4e737cb0", kill_on_drop: false }`
[INFO] [stderr]    Compiling actix-telegram-derive v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:327:51
[INFO] [stdout]     |
[INFO] [stdout] 327 | fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 327 - fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stdout] 327 + fn file_fields(fields: FieldsNamed) -> Option<Box<dyn ToTokens>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 227 -     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout] 227 +     let file_fields: Option<Box<dyn ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:327:51
[INFO] [stdout]     |
[INFO] [stdout] 327 | fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 327 - fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stdout] 327 + fn file_fields(fields: FieldsNamed) -> Option<Box<dyn ToTokens>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 227 -     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout] 227 +     let file_fields: Option<Box<dyn ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.69s
[INFO] running `Command { std: "docker" "inspect" "03405e0c0c5ec478b71595649089ee90562150b507577dd0382138af4e737cb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03405e0c0c5ec478b71595649089ee90562150b507577dd0382138af4e737cb0", kill_on_drop: false }`
[INFO] [stdout] 03405e0c0c5ec478b71595649089ee90562150b507577dd0382138af4e737cb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dc99cde6bc48dc6e27615ba24120423cff8edf931fe4f2e681c864e39f336971
[INFO] running `Command { std: "docker" "start" "-a" "dc99cde6bc48dc6e27615ba24120423cff8edf931fe4f2e681c864e39f336971", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:327:51
[INFO] [stderr]     |
[INFO] [stderr] 327 | fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stderr]     |                                                   ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 327 - fn file_fields(fields: FieldsNamed) -> Option<Box<ToTokens>> {
[INFO] [stderr] 327 + fn file_fields(fields: FieldsNamed) -> Option<Box<dyn ToTokens>> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:227:33
[INFO] [stderr]     |
[INFO] [stderr] 227 |     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stderr]     |                                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 227 -     let file_fields: Option<Box<ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stderr] 227 +     let file_fields: Option<Box<dyn ToTokens>> = match struct_name.to_string().as_str() {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `actix-telegram-derive` (lib) generated 2 warnings
[INFO] [stderr] warning: `actix-telegram-derive` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_telegram_derive-b077f5bc25540043)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests actix-telegram-derive
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 50) - compile fail ... ok
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `getset`
[INFO] [stdout]  --> src/lib.rs:11:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getset;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Getters` in this scope
[INFO] [stdout]  --> src/lib.rs:13:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Getters, Setters, New, Default)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Setters` in this scope
[INFO] [stdout]  --> src/lib.rs:13:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Getters, Setters, New, Default)]
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `New` in this scope
[INFO] [stdout]  --> src/lib.rs:13:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Getters, Setters, New, Default)]
[INFO] [stdout]   |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]  --> src/lib.rs:14:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[get(vis = "pub")]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]  --> src/lib.rs:15:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[get(vis = "pub", mutable)]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `set` in this scope
[INFO] [stdout]  --> src/lib.rs:16:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[set(vis = "pub", consume)]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `set` in this scope
[INFO] [stdout]  --> src/lib.rs:17:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[set(vis = "pub")]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `new` in this scope
[INFO] [stdout]   --> src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[new(vis = "pub")]
[INFO] [stdout]    |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]   --> src/lib.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[get(copy)] #[get(mutable)] #[set]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]   --> src/lib.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[get(copy)] #[get(mutable)] #[set]
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `set` in this scope
[INFO] [stdout]   --> src/lib.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[get(copy)] #[get(mutable)] #[set]
[INFO] [stdout]    |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `set` in this scope
[INFO] [stdout]   --> src/lib.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[set(optional)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:34:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- function or associated item `new` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 26 |     let mut foo: Foo<i64> = Foo::new(1).consume_set_public(3);
[INFO] [stdout]    |                                  ^^^ function or associated item not found in `Foo<_>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `private` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `private` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 27 |     assert_eq!(foo.private(), 1);
[INFO] [stdout]    |                    ^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    field, not a method
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `public` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `public` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 28 |     assert_eq!(*foo.public(), Some(3));
[INFO] [stdout]    |                     ^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     field, not a method
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_private` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `set_private` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 29 |     foo.set_private(3);
[INFO] [stdout]    |         ^^^^^^^^^^^ method not found in `Foo<i64>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `private_mut` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `private_mut` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 30 |     (*foo.private_mut()) += 1;
[INFO] [stdout]    |           ^^^^^^^^^^^ method not found in `Foo<i64>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `private` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `private` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 31 |     assert_eq!(foo.private(), 4);
[INFO] [stdout]    |                    ^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    field, not a method
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_public` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `set_public` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 32 |     foo.set_public(4);
[INFO] [stdout]    |         ^^^^^^^^^^ method not found in `Foo<i64>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `public` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `public` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 33 |     assert_eq!(*foo.public(), Some(4));
[INFO] [stdout]    |                     ^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     field, not a method
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_public` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `set_public` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 34 |     foo.set_public(None);
[INFO] [stdout]    |         ^^^^^^^^^^ method not found in `Foo<i64>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `public` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `public` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 35 |     assert_eq!(*foo.public(), None);
[INFO] [stdout]    |                     ^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     field, not a method
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_optional` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `set_optional` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 36 |     foo.set_optional(Some("test"));
[INFO] [stdout]    |         ^^^^^^^^^^^^ method not found in `Foo<i64>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `optional` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `optional` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 37 |     assert_eq!(foo.optional(), &Some("test".to_string()));
[INFO] [stdout]    |                    ^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    field, not a method
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_optional` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `set_optional` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 38 |     foo.set_optional(None::<&str>);
[INFO] [stdout]    |         ^^^^^^^^^^^^ method not found in `Foo<i64>`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `optional` found for struct `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Foo<T> where T: Copy + Clone + Default {
[INFO] [stdout]    | ------------------------------------------------- method `optional` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 39 |     assert_eq!(*foo.optional(), None);
[INFO] [stdout]    |                     ^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     field, not a method
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dc99cde6bc48dc6e27615ba24120423cff8edf931fe4f2e681c864e39f336971", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc99cde6bc48dc6e27615ba24120423cff8edf931fe4f2e681c864e39f336971", kill_on_drop: false }`
[INFO] [stdout] dc99cde6bc48dc6e27615ba24120423cff8edf931fe4f2e681c864e39f336971
