[INFO] crate destruct-derive 0.1.2 is already in cache [INFO] testing destruct-derive-0.1.2 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate destruct-derive 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate destruct-derive 0.1.2 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate destruct-derive 0.1.2 [INFO] finished tweaking crates.io crate destruct-derive 0.1.2 [INFO] tweaked toml for crates.io crate destruct-derive 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8155945324e7d0a3a87e514d253d568f7f64474c1a63b1ea1f119bd37d79ab0d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8155945324e7d0a3a87e514d253d568f7f64474c1a63b1ea1f119bd37d79ab0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8155945324e7d0a3a87e514d253d568f7f64474c1a63b1ea1f119bd37d79ab0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8155945324e7d0a3a87e514d253d568f7f64474c1a63b1ea1f119bd37d79ab0d", kill_on_drop: false }` [INFO] [stdout] 8155945324e7d0a3a87e514d253d568f7f64474c1a63b1ea1f119bd37d79ab0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebabecb05c1a1dd396d5b7842d91bcfa46001213bb2e93768d795e0ef67af948 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ebabecb05c1a1dd396d5b7842d91bcfa46001213bb2e93768d795e0ef67af948", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling destruct-derive v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `brace_token` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | brace_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.22s [INFO] running `Command { std: "docker" "inspect" "ebabecb05c1a1dd396d5b7842d91bcfa46001213bb2e93768d795e0ef67af948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebabecb05c1a1dd396d5b7842d91bcfa46001213bb2e93768d795e0ef67af948", kill_on_drop: false }` [INFO] [stdout] ebabecb05c1a1dd396d5b7842d91bcfa46001213bb2e93768d795e0ef67af948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49afbb5802830e534734ba20ea842e7bbfff241bbafb3c2c00827faa51154c0a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49afbb5802830e534734ba20ea842e7bbfff241bbafb3c2c00827faa51154c0a", kill_on_drop: false }` [INFO] [stderr] Compiling destruct-derive v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `brace_token` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | brace_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `brace_token` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | brace_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "49afbb5802830e534734ba20ea842e7bbfff241bbafb3c2c00827faa51154c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49afbb5802830e534734ba20ea842e7bbfff241bbafb3c2c00827faa51154c0a", kill_on_drop: false }` [INFO] [stdout] 49afbb5802830e534734ba20ea842e7bbfff241bbafb3c2c00827faa51154c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bca37103d9ce74ca465e6b47f10708e495d177e24153c1119d740fc37e4b3251 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bca37103d9ce74ca465e6b47f10708e495d177e24153c1119d740fc37e4b3251", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `brace_token` [INFO] [stderr] --> src/lib.rs:339:5 [INFO] [stderr] | [INFO] [stderr] 339 | brace_token: syn::token::Paren, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: field is never read: `brace_token` [INFO] [stderr] --> src/lib.rs:339:5 [INFO] [stderr] | [INFO] [stderr] 339 | brace_token: syn::token::Paren, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/destruct_derive-60abf150a3441cf2 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests destruct-derive [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / /// Get the pattern matching of From for enums. [INFO] [stderr] 85 | | /// It will be placed in: [INFO] [stderr] 86 | | /// ```rust, norun [INFO] [stderr] 87 | | /// impl From for DestructType { [INFO] [stderr] ... | [INFO] [stderr] 93 | | /// } [INFO] [stderr] 94 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_codeblock_attributes)]` on by default [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / /// Get the pattern matching of Into for enums. It will be placed in: [INFO] [stderr] 140 | | /// [INFO] [stderr] 141 | | /// ```rust, norun [INFO] [stderr] 142 | | /// impl Into for DestructType { [INFO] [stderr] ... | [INFO] [stderr] 148 | | /// } [INFO] [stderr] 149 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - get_destruct_enum_from (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - get_destruct_from (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - get_destruct_into_fields (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - get_destruct_enum_into (line 141) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - get_destruct_enum_from (line 86) stdout ---- [INFO] [stdout] error: expected one of `!` or `[`, found `result` [INFO] [stdout] --> src/lib.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 6 | #result [INFO] [stdout] | ^^^^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `destruct` [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 5 | destruct::DestructEnumBegin::new(match t { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `destruct` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OritinalEnum` in this scope [INFO] [stdout] --> src/lib.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for DestructType { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DestructType` in this scope [INFO] [stdout] --> src/lib.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for DestructType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OritinalEnum` in this scope [INFO] [stdout] --> src/lib.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn from(t: OritinalEnum) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_destruct_from (line 216) stdout ---- [INFO] [stdout] error: expected one of `!` or `[`, found `result` [INFO] [stdout] --> src/lib.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 5 | #result [INFO] [stdout] | ^^^^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginalStruct` in this scope [INFO] [stdout] --> src/lib.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for DestructType { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DestructType` in this scope [INFO] [stdout] --> src/lib.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for DestructType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginalStruct` in this scope [INFO] [stdout] --> src/lib.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn from(value: OriginalStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_destruct_into_fields (line 251) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `#` [INFO] [stdout] --> src/lib.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 5 | OriginalStruct #result; [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginalStruct` in this scope [INFO] [stdout] --> src/lib.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 3 | impl Into for DestructType { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DestructType` in this scope [INFO] [stdout] --> src/lib.rs:252:31 [INFO] [stdout] | [INFO] [stdout] 3 | impl Into for DestructType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginalStruct` in this scope [INFO] [stdout] --> src/lib.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn into(self) -> OriginalStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_destruct_enum_into (line 141) stdout ---- [INFO] [stdout] error: expected one of `!` or `[`, found `result` [INFO] [stdout] --> src/lib.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 6 | #result [INFO] [stdout] | ^^^^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OritinalEnum` in this scope [INFO] [stdout] --> src/lib.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 3 | impl Into for DestructType { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DestructType` in this scope [INFO] [stdout] --> src/lib.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 3 | impl Into for DestructType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginalEnum` in this scope [INFO] [stdout] --> src/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn into(self) -> OriginalEnum { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - get_destruct_enum_from (line 86) [INFO] [stdout] src/lib.rs - get_destruct_enum_into (line 141) [INFO] [stdout] src/lib.rs - get_destruct_from (line 216) [INFO] [stdout] src/lib.rs - get_destruct_into_fields (line 251) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "bca37103d9ce74ca465e6b47f10708e495d177e24153c1119d740fc37e4b3251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca37103d9ce74ca465e6b47f10708e495d177e24153c1119d740fc37e4b3251", kill_on_drop: false }` [INFO] [stdout] bca37103d9ce74ca465e6b47f10708e495d177e24153c1119d740fc37e4b3251