[INFO] fetching crate futures-signals-structs-derive 0.2.0... [INFO] testing futures-signals-structs-derive-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate futures-signals-structs-derive 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate futures-signals-structs-derive 0.2.0 [INFO] finished tweaking crates.io crate futures-signals-structs-derive 0.2.0 [INFO] tweaked toml for crates.io crate futures-signals-structs-derive 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate futures-signals-structs-derive 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ea91b8325b8780c8f2bd0e46c5451bc24fcec21eb08db369e8fa63a74c8865 [INFO] running `Command { std: "docker" "start" "-a" "a7ea91b8325b8780c8f2bd0e46c5451bc24fcec21eb08db369e8fa63a74c8865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ea91b8325b8780c8f2bd0e46c5451bc24fcec21eb08db369e8fa63a74c8865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ea91b8325b8780c8f2bd0e46c5451bc24fcec21eb08db369e8fa63a74c8865", kill_on_drop: false }` [INFO] [stdout] a7ea91b8325b8780c8f2bd0e46c5451bc24fcec21eb08db369e8fa63a74c8865 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34ad110ac7338629b0097d72a5c68bd73f5661c34bd31d894168a6533fc929da [INFO] running `Command { std: "docker" "start" "-a" "34ad110ac7338629b0097d72a5c68bd73f5661c34bd31d894168a6533fc929da", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-signals-structs-derive v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `Command { std: "docker" "inspect" "34ad110ac7338629b0097d72a5c68bd73f5661c34bd31d894168a6533fc929da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ad110ac7338629b0097d72a5c68bd73f5661c34bd31d894168a6533fc929da", kill_on_drop: false }` [INFO] [stdout] 34ad110ac7338629b0097d72a5c68bd73f5661c34bd31d894168a6533fc929da [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b210afdf3745e7eb8b3c83ae2dd4a531de20e9365327ebc7bed8cadb75303a7 [INFO] running `Command { std: "docker" "start" "-a" "7b210afdf3745e7eb8b3c83ae2dd4a531de20e9365327ebc7bed8cadb75303a7", kill_on_drop: false }` [INFO] [stderr] Compiling futures-signals-structs-derive v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "7b210afdf3745e7eb8b3c83ae2dd4a531de20e9365327ebc7bed8cadb75303a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b210afdf3745e7eb8b3c83ae2dd4a531de20e9365327ebc7bed8cadb75303a7", kill_on_drop: false }` [INFO] [stdout] 7b210afdf3745e7eb8b3c83ae2dd4a531de20e9365327ebc7bed8cadb75303a7 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc9e6b40f4c9ae7177f07f3166f4249bc0c320c49aa7b9116648ec0771a013ac [INFO] running `Command { std: "docker" "start" "-a" "bc9e6b40f4c9ae7177f07f3166f4249bc0c320c49aa7b9116648ec0771a013ac", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/futures_signals_structs_derive-12814a9d82cd5c12) [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 futures_signals_structs_derive [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - as_mutable_struct (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - as_mutable_struct (line 136) ... FAILED [INFO] [stdout] test src/lib.rs - as_mutable_struct (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - as_mutable_struct (line 128) ... FAILED [INFO] [stdout] test src/lib.rs - as_mutable_struct (line 154) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - as_mutable_struct (line 109) stdout ---- [INFO] [stdout] error: cannot find derive macro `AsMutableStruct` in this scope [INFO] [stdout] --> src/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(AsMutableStruct)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 110 + use futures_signals_structs_derive::AsMutableStruct; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mutable_struct` found for struct `PlayerScore` in the current scope [INFO] [stdout] --> src/lib.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 111 | struct PlayerScore { [INFO] [stdout] | ------------------ method `as_mutable_struct` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 121 | let mutable_score = score.as_mutable_struct(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `PlayerScore` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - as_mutable_struct (line 136) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mutable_score` in this scope [INFO] [stdout] --> src/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(mutable_score.snapshot(), PlayerScore { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlayerScore` in this scope [INFO] [stdout] --> src/lib.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(mutable_score.snapshot(), PlayerScore { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - as_mutable_struct (line 143) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mutable_score` in this scope [INFO] [stdout] --> src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | mutable_score.update(PlayerScore { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlayerScore` in this scope [INFO] [stdout] --> src/lib.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | mutable_score.update(PlayerScore { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mutable_score` in this scope [INFO] [stdout] --> src/lib.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(mutable_score.snapshot(), PlayerScore { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlayerScore` in this scope [INFO] [stdout] --> src/lib.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(mutable_score.snapshot(), PlayerScore { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - as_mutable_struct (line 128) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutablePlayerScore` in this scope [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | let mutable_score = MutablePlayerScore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutable` in this scope [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | hits: Mutable::new(5), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Mutable` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutable` in this scope [INFO] [stdout] --> src/lib.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | multiplier: Mutable::new(1.4), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Mutable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - as_mutable_struct (line 154) stdout ---- [INFO] [stdout] error: cannot find derive macro `AsMutableStruct` in this scope [INFO] [stdout] --> src/lib.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(AsMutableStruct)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 154 + use futures_signals_structs_derive::AsMutableStruct; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mutable_type` in this scope [INFO] [stdout] --> src/lib.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | #[mutable_type = "MutablePlayerScore"] player_1: PlayerScore, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mutable_type` in this scope [INFO] [stdout] --> src/lib.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | #[mutable_type = "MutablePlayerScore"] player_2: PlayerScore, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PlayerScore` in this scope [INFO] [stdout] --> src/lib.rs:157:58 [INFO] [stdout] | [INFO] [stdout] 157 | #[mutable_type = "MutablePlayerScore"] player_1: PlayerScore, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PlayerScore` in this scope [INFO] [stdout] --> src/lib.rs:158:58 [INFO] [stdout] | [INFO] [stdout] 158 | #[mutable_type = "MutablePlayerScore"] player_2: PlayerScore, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - as_mutable_struct (line 109) [INFO] [stdout] src/lib.rs - as_mutable_struct (line 128) [INFO] [stdout] src/lib.rs - as_mutable_struct (line 136) [INFO] [stdout] src/lib.rs - as_mutable_struct (line 143) [INFO] [stdout] src/lib.rs - as_mutable_struct (line 154) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bc9e6b40f4c9ae7177f07f3166f4249bc0c320c49aa7b9116648ec0771a013ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9e6b40f4c9ae7177f07f3166f4249bc0c320c49aa7b9116648ec0771a013ac", kill_on_drop: false }` [INFO] [stdout] bc9e6b40f4c9ae7177f07f3166f4249bc0c320c49aa7b9116648ec0771a013ac