[INFO] fetching crate auto-delegate-impl 0.1.2... [INFO] testing auto-delegate-impl-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate auto-delegate-impl 0.1.2 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate auto-delegate-impl 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8c10e9c1a3433f0d8abc54373278a1f31a984f9f9b0c16f71e1625abf33381a [INFO] running `Command { std: "docker" "start" "-a" "e8c10e9c1a3433f0d8abc54373278a1f31a984f9f9b0c16f71e1625abf33381a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8c10e9c1a3433f0d8abc54373278a1f31a984f9f9b0c16f71e1625abf33381a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c10e9c1a3433f0d8abc54373278a1f31a984f9f9b0c16f71e1625abf33381a", kill_on_drop: false }` [INFO] [stdout] e8c10e9c1a3433f0d8abc54373278a1f31a984f9f9b0c16f71e1625abf33381a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c27ac602d271d7357abb979d2ca7ed13e3d8c106a7f6bae3173b2924c45ac5a3 [INFO] running `Command { std: "docker" "start" "-a" "c27ac602d271d7357abb979d2ca7ed13e3d8c106a7f6bae3173b2924c45ac5a3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling auto-delegate-impl v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.45s [INFO] running `Command { std: "docker" "inspect" "c27ac602d271d7357abb979d2ca7ed13e3d8c106a7f6bae3173b2924c45ac5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27ac602d271d7357abb979d2ca7ed13e3d8c106a7f6bae3173b2924c45ac5a3", kill_on_drop: false }` [INFO] [stdout] c27ac602d271d7357abb979d2ca7ed13e3d8c106a7f6bae3173b2924c45ac5a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dbe0cd123fd1977f936d109a7736e007c7125fcfea15c41819080de1b27b3fdd [INFO] running `Command { std: "docker" "start" "-a" "dbe0cd123fd1977f936d109a7736e007c7125fcfea15c41819080de1b27b3fdd", 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.61s [INFO] running `Command { std: "docker" "inspect" "dbe0cd123fd1977f936d109a7736e007c7125fcfea15c41819080de1b27b3fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe0cd123fd1977f936d109a7736e007c7125fcfea15c41819080de1b27b3fdd", kill_on_drop: false }` [INFO] [stdout] dbe0cd123fd1977f936d109a7736e007c7125fcfea15c41819080de1b27b3fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e70631bf90c9a10cd2cb040883b42e292e80c95f5efb9a9b45fc2433ddb9b835 [INFO] running `Command { std: "docker" "start" "-a" "e70631bf90c9a10cd2cb040883b42e292e80c95f5efb9a9b45fc2433ddb9b835", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auto_delegate_impl-2fb6b1d8fde9f8c9) [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 113) ... FAILED [INFO] [stdout] test src/lib.rs - derive_delegate (line 45) ... 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 unresolved module or unlinked crate `auto_delegate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_delegate`, use `cargo add auto_delegate` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `auto_delegate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_delegate`, use `cargo add auto_delegate` to add it to your `Cargo.toml` [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{ [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` [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 unresolved module or unlinked crate `auto_delegate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_delegate`, use `cargo add auto_delegate` to add it to your `Cargo.toml` [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 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 unresolved module or unlinked crate `auto_delegate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_delegate`, use `cargo add auto_delegate` to add it to your `Cargo.toml` [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{ [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` [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{ [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` [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{ [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` [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{ [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` [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{ [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` [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] ---- 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 unresolved module or unlinked crate `auto_delegate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_delegate`, use `cargo add auto_delegate` to add it to your `Cargo.toml` [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] [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.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e70631bf90c9a10cd2cb040883b42e292e80c95f5efb9a9b45fc2433ddb9b835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e70631bf90c9a10cd2cb040883b42e292e80c95f5efb9a9b45fc2433ddb9b835", kill_on_drop: false }` [INFO] [stdout] e70631bf90c9a10cd2cb040883b42e292e80c95f5efb9a9b45fc2433ddb9b835