[INFO] fetching crate auto-delegate-impl 0.1.2...
[INFO] testing auto-delegate-impl-0.1.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate auto-delegate-impl 0.1.2 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate auto-delegate-impl 0.1.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate auto-delegate-impl 0.1.2
[INFO] finished tweaking crates.io crate auto-delegate-impl 0.1.2
[INFO] tweaked toml for crates.io crate auto-delegate-impl 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 124e8746332a24557557b9456d816cd588ec57c582cf91a14314f50f2fcdb372
[INFO] running `Command { std: "docker" "start" "-a" "124e8746332a24557557b9456d816cd588ec57c582cf91a14314f50f2fcdb372", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "124e8746332a24557557b9456d816cd588ec57c582cf91a14314f50f2fcdb372", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "124e8746332a24557557b9456d816cd588ec57c582cf91a14314f50f2fcdb372", kill_on_drop: false }`
[INFO] [stdout] 124e8746332a24557557b9456d816cd588ec57c582cf91a14314f50f2fcdb372
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d01e2be86b04cec2389ea9cc968e11cfe898143d724230b12576bae434e0cb85
[INFO] running `Command { std: "docker" "start" "-a" "d01e2be86b04cec2389ea9cc968e11cfe898143d724230b12576bae434e0cb85", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling auto-delegate-impl v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.35s
[INFO] running `Command { std: "docker" "inspect" "d01e2be86b04cec2389ea9cc968e11cfe898143d724230b12576bae434e0cb85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d01e2be86b04cec2389ea9cc968e11cfe898143d724230b12576bae434e0cb85", kill_on_drop: false }`
[INFO] [stdout] d01e2be86b04cec2389ea9cc968e11cfe898143d724230b12576bae434e0cb85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed7220f2a1ae690b26351cb394824f1c439a52ba3ccdfc9fd3e27aea935e7535
[INFO] running `Command { std: "docker" "start" "-a" "ed7220f2a1ae690b26351cb394824f1c439a52ba3ccdfc9fd3e27aea935e7535", kill_on_drop: false }`
[INFO] [stderr]    Compiling auto-delegate-impl v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] running `Command { std: "docker" "inspect" "ed7220f2a1ae690b26351cb394824f1c439a52ba3ccdfc9fd3e27aea935e7535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed7220f2a1ae690b26351cb394824f1c439a52ba3ccdfc9fd3e27aea935e7535", kill_on_drop: false }`
[INFO] [stdout] ed7220f2a1ae690b26351cb394824f1c439a52ba3ccdfc9fd3e27aea935e7535
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cfda8101678c822376ef6a9d05769e6af28f0f872b9f39dcc01039d5934767c5
[INFO] running `Command { std: "docker" "start" "-a" "cfda8101678c822376ef6a9d05769e6af28f0f872b9f39dcc01039d5934767c5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auto_delegate_impl-af9e75e4568d42b8)
[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 auto_delegate_impl
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - delegate (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 203) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 113) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - delegate (line 20) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::delegate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 78) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:79:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]  --> src/lib.rs:81:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[delegate]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use auto_delegate_impl::delegate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Default, Delegate)]
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::Delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:99:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[to(Calc)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:106:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `calc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 | assert_eq!(parent.calc(3, 2), 5);
[INFO] [stdout]    |                   ^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 30 | assert_eq!(parent.child.calc(3, 2), 5);
[INFO] [stdout]    |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 203) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:204:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::{delegate, Delegate};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:235:3
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[to(Calc)]
[INFO] [stdout]    |   ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for enum `EnumCalc` in the current scope
[INFO] [stdout]   --> src/lib.rs:243:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum EnumCalc {
[INFO] [stdout]    | ------------- method `calc` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 | assert_eq!(c.calc(3, 5), 8);
[INFO] [stdout]    |              ^^^^ method not found in `EnumCalc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:207:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for enum `EnumCalc` in the current scope
[INFO] [stdout]   --> src/lib.rs:246:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum EnumCalc {
[INFO] [stdout]    | ------------- method `calc` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 | assert_eq!(c.calc(3, 2), 1);
[INFO] [stdout]    |              ^^^^ method not found in `EnumCalc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:207:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 45) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:46:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]  --> src/lib.rs:48:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[delegate]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use auto_delegate_impl::delegate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Delegate, Default)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::Delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[to(Calc)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Parent {
[INFO] [stdout]    | ------------- method `calc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 | assert_eq!(parent.calc(3, 2), 5);
[INFO] [stdout]    |                   ^^^^ method not found in `Parent`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 27 | assert_eq!(parent.child.calc(3, 2), 5);
[INFO] [stdout]    |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 113) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:114:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]  --> src/lib.rs:116:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[delegate]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use auto_delegate_impl::delegate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:133:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[delegate]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:141:3
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[delegate]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:179:19
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Default, Delegate)]
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::Delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:181:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     #[to(Movable, Resizable)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:184:7
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[to(Calc)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:191:19
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `calc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 | assert_eq!(parent.calc(3, 2), 5);
[INFO] [stdout]    |                   ^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:117:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 80 | assert_eq!(parent.calculator.calc(3, 2), 5);
[INFO] [stdout]    |                   +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `move_to` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:193:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `move_to` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 82 | parent.move_to((10, 11));
[INFO] [stdout]    |        ^^^^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Movable` defines an item `move_to`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait Movable{
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 82 | parent.transform.move_to((10, 11));
[INFO] [stdout]    |        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pos` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:194:19
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `pos` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 | assert_eq!(parent.pos(), (10, 11));
[INFO] [stdout]    |                   ^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Movable` defines an item `pos`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait Movable{
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 83 | assert_eq!(parent.transform.pos(), (10, 11));
[INFO] [stdout]    |                   ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `resize` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:196:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `resize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 | parent.resize(100, 120);
[INFO] [stdout]    |        ^^^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Resizable` defines an item `resize`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:142:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | trait Resizable{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 85 | parent.transform.resize(100, 120);
[INFO] [stdout]    |        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `size` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:197:19
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 | assert_eq!(parent.size(), (100, 120));
[INFO] [stdout]    |                   ^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `size`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Resizable`
[INFO] [stdout]            candidate #2: `std::os::unix::fs::MetadataExt`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 86 | assert_eq!(parent.transform.size(), (100, 120));
[INFO] [stdout]    |                   ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - delegate (line 20)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 113)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 203)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 45)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 78)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cfda8101678c822376ef6a9d05769e6af28f0f872b9f39dcc01039d5934767c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfda8101678c822376ef6a9d05769e6af28f0f872b9f39dcc01039d5934767c5", kill_on_drop: false }`
[INFO] [stdout] cfda8101678c822376ef6a9d05769e6af28f0f872b9f39dcc01039d5934767c5
[INFO] testing auto-delegate-impl-0.1.2 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate auto-delegate-impl 0.1.2 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate auto-delegate-impl 0.1.2 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate auto-delegate-impl 0.1.2
[INFO] finished tweaking crates.io crate auto-delegate-impl 0.1.2
[INFO] tweaked toml for crates.io crate auto-delegate-impl 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b768b2c3fedfbc3c2b72b0c453c4ff7beb06810df4a76760ded95c6360ff4326
[INFO] running `Command { std: "docker" "start" "-a" "b768b2c3fedfbc3c2b72b0c453c4ff7beb06810df4a76760ded95c6360ff4326", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b768b2c3fedfbc3c2b72b0c453c4ff7beb06810df4a76760ded95c6360ff4326", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b768b2c3fedfbc3c2b72b0c453c4ff7beb06810df4a76760ded95c6360ff4326", kill_on_drop: false }`
[INFO] [stdout] b768b2c3fedfbc3c2b72b0c453c4ff7beb06810df4a76760ded95c6360ff4326
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 760125b5c7ef41cf536a07de3e81ce45add3ef643de88d687e0ad5041efb1c8f
[INFO] running `Command { std: "docker" "start" "-a" "760125b5c7ef41cf536a07de3e81ce45add3ef643de88d687e0ad5041efb1c8f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling auto-delegate-impl v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.32s
[INFO] running `Command { std: "docker" "inspect" "760125b5c7ef41cf536a07de3e81ce45add3ef643de88d687e0ad5041efb1c8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "760125b5c7ef41cf536a07de3e81ce45add3ef643de88d687e0ad5041efb1c8f", kill_on_drop: false }`
[INFO] [stdout] 760125b5c7ef41cf536a07de3e81ce45add3ef643de88d687e0ad5041efb1c8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f21e1b72e9ae195f8c41982a55295daba202c04936a343ef02502309a4310d4
[INFO] running `Command { std: "docker" "start" "-a" "6f21e1b72e9ae195f8c41982a55295daba202c04936a343ef02502309a4310d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling auto-delegate-impl v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "6f21e1b72e9ae195f8c41982a55295daba202c04936a343ef02502309a4310d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f21e1b72e9ae195f8c41982a55295daba202c04936a343ef02502309a4310d4", kill_on_drop: false }`
[INFO] [stdout] 6f21e1b72e9ae195f8c41982a55295daba202c04936a343ef02502309a4310d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 83e26b6b911e7c9736b7cc5a551914e6b28ec42ea2770459402c6eccbe8ba54d
[INFO] running `Command { std: "docker" "start" "-a" "83e26b6b911e7c9736b7cc5a551914e6b28ec42ea2770459402c6eccbe8ba54d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auto_delegate_impl-af9e75e4568d42b8)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests auto_delegate_impl
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - delegate (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 203) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_delegate (line 113) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - delegate (line 20) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::delegate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 203) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:204:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::{delegate, Delegate};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:235:3
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[to(Calc)]
[INFO] [stdout]    |   ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for enum `EnumCalc` in the current scope
[INFO] [stdout]   --> src/lib.rs:243:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum EnumCalc {
[INFO] [stdout]    | ------------- method `calc` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 | assert_eq!(c.calc(3, 5), 8);
[INFO] [stdout]    |              ^^^^ method not found in `EnumCalc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:207:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for enum `EnumCalc` in the current scope
[INFO] [stdout]   --> src/lib.rs:246:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum EnumCalc {
[INFO] [stdout]    | ------------- method `calc` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 | assert_eq!(c.calc(3, 2), 1);
[INFO] [stdout]    |              ^^^^ method not found in `EnumCalc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:207:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 45) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:46:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]  --> src/lib.rs:48:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[delegate]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use auto_delegate_impl::delegate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Delegate, Default)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::Delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[to(Calc)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Parent {
[INFO] [stdout]    | ------------- method `calc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 | assert_eq!(parent.calc(3, 2), 5);
[INFO] [stdout]    |                   ^^^^ method not found in `Parent`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 27 | assert_eq!(parent.child.calc(3, 2), 5);
[INFO] [stdout]    |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 78) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:79:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]  --> src/lib.rs:81:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[delegate]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use auto_delegate_impl::delegate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Default, Delegate)]
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::Delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:99:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[to(Calc)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:106:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `calc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 | assert_eq!(parent.calc(3, 2), 5);
[INFO] [stdout]    |                   ^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 30 | assert_eq!(parent.child.calc(3, 2), 5);
[INFO] [stdout]    |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_delegate (line 113) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `auto_delegate`
[INFO] [stdout]  --> src/lib.rs:114:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auto_delegate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `auto_delegate`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]  --> src/lib.rs:116:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[delegate]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use auto_delegate_impl::delegate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:133:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[delegate]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:141:3
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[delegate]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Delegate` in this scope
[INFO] [stdout]   --> src/lib.rs:179:19
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Default, Delegate)]
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use auto_delegate_impl::Delegate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:181:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     #[to(Movable, Resizable)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `to` in this scope
[INFO] [stdout]   --> src/lib.rs:184:7
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[to(Calc)]
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calc` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:191:19
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `calc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 | assert_eq!(parent.calc(3, 2), 5);
[INFO] [stdout]    |                   ^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Calc` defines an item `calc`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:117:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | trait Calc {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 80 | assert_eq!(parent.calculator.calc(3, 2), 5);
[INFO] [stdout]    |                   +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `move_to` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:193:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `move_to` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 82 | parent.move_to((10, 11));
[INFO] [stdout]    |        ^^^^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Movable` defines an item `move_to`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait Movable{
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 82 | parent.transform.move_to((10, 11));
[INFO] [stdout]    |        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pos` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:194:19
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `pos` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 | assert_eq!(parent.pos(), (10, 11));
[INFO] [stdout]    |                   ^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Movable` defines an item `pos`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait Movable{
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 83 | assert_eq!(parent.transform.pos(), (10, 11));
[INFO] [stdout]    |                   ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `resize` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:196:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `resize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 | parent.resize(100, 120);
[INFO] [stdout]    |        ^^^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `Resizable` defines an item `resize`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:142:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | trait Resizable{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 85 | parent.transform.resize(100, 120);
[INFO] [stdout]    |        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `size` found for struct `Parent` in the current scope
[INFO] [stdout]   --> src/lib.rs:197:19
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Parent<T: Default + Calc>{
[INFO] [stdout]    | -------------------------------- method `size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 | assert_eq!(parent.size(), (100, 120));
[INFO] [stdout]    |                   ^^^^ method not found in `Parent<CalcAdd>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `size`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Resizable`
[INFO] [stdout]            candidate #2: `std::os::unix::fs::MetadataExt`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 86 | assert_eq!(parent.transform.size(), (100, 120));
[INFO] [stdout]    |                   ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - delegate (line 20)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 113)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 203)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 45)
[INFO] [stdout]     src/lib.rs - derive_delegate (line 78)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "83e26b6b911e7c9736b7cc5a551914e6b28ec42ea2770459402c6eccbe8ba54d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83e26b6b911e7c9736b7cc5a551914e6b28ec42ea2770459402c6eccbe8ba54d", kill_on_drop: false }`
[INFO] [stdout] 83e26b6b911e7c9736b7cc5a551914e6b28ec42ea2770459402c6eccbe8ba54d
