[INFO] fetching crate cex_derive 0.5.2... [INFO] testing cex_derive-0.5.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate cex_derive 0.5.2 into /workspace/builds/worker-57/source [INFO] validating manifest of crates.io crate cex_derive 0.5.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cex_derive 0.5.2 [INFO] finished tweaking crates.io crate cex_derive 0.5.2 [INFO] tweaked toml for crates.io crate cex_derive 0.5.2 written to /workspace/builds/worker-57/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 148af0a31aaa5c5c9e160ea103c2bd166fcae036c6ac7d3f6ec4ba94be20596d [INFO] running `Command { std: "docker" "start" "-a" "148af0a31aaa5c5c9e160ea103c2bd166fcae036c6ac7d3f6ec4ba94be20596d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "148af0a31aaa5c5c9e160ea103c2bd166fcae036c6ac7d3f6ec4ba94be20596d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148af0a31aaa5c5c9e160ea103c2bd166fcae036c6ac7d3f6ec4ba94be20596d", kill_on_drop: false }` [INFO] [stdout] 148af0a31aaa5c5c9e160ea103c2bd166fcae036c6ac7d3f6ec4ba94be20596d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50da4789105d97af268003ac32bf12c8ed1c45574d82dcc7eeb558df60a834de [INFO] running `Command { std: "docker" "start" "-a" "50da4789105d97af268003ac32bf12c8ed1c45574d82dcc7eeb558df60a834de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cex_derive v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.17s [INFO] running `Command { std: "docker" "inspect" "50da4789105d97af268003ac32bf12c8ed1c45574d82dcc7eeb558df60a834de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50da4789105d97af268003ac32bf12c8ed1c45574d82dcc7eeb558df60a834de", kill_on_drop: false }` [INFO] [stdout] 50da4789105d97af268003ac32bf12c8ed1c45574d82dcc7eeb558df60a834de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4082b17d50639f6fed95de22cbb778a3051d5a323b0c95373d15c8cf6c1c3df1 [INFO] running `Command { std: "docker" "start" "-a" "4082b17d50639f6fed95de22cbb778a3051d5a323b0c95373d15c8cf6c1c3df1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cex_derive v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "4082b17d50639f6fed95de22cbb778a3051d5a323b0c95373d15c8cf6c1c3df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4082b17d50639f6fed95de22cbb778a3051d5a323b0c95373d15c8cf6c1c3df1", kill_on_drop: false }` [INFO] [stdout] 4082b17d50639f6fed95de22cbb778a3051d5a323b0c95373d15c8cf6c1c3df1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95cd7546c0075466e1ec1a5b70cc2805335a48365e150c1103ed6c86983e7da5 [INFO] running `Command { std: "docker" "start" "-a" "95cd7546c0075466e1ec1a5b70cc2805335a48365e150c1103ed6c86983e7da5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cex_derive-a067a8e0f8acc564) [INFO] [stdout] [INFO] [stderr] Doc-tests cex_derive [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 3 tests [INFO] [stdout] test src/lib.rs - Result (line 639) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Result (line 629) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Result (line 647) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Result (line 639) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:641:62 [INFO] [stdout] | [INFO] [stdout] 4 | let _f = #[cex] || -> Result!( i32 throws String ) {/**/} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0658]: attributes on expressions are experimental [INFO] [stdout] --> src/lib.rs:641:14 [INFO] [stdout] | [INFO] [stdout] 4 | let _f = #[cex] || -> Result!( i32 throws String ) {/**/} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #15701 for more information [INFO] [stdout] = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cex` in this scope [INFO] [stdout] --> src/lib.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 4 | let _f = #[cex] || -> Result!( i32 throws String ) {/**/} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] cex_derive::cex [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Result` in this scope [INFO] [stdout] --> src/lib.rs:641:27 [INFO] [stdout] | [INFO] [stdout] 4 | let _f = #[cex] || -> Result!( i32 throws String ) {/**/} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cex_derive::Result [INFO] [stdout] = note: `Result` is in scope, but it is an enum, not a macro [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Result (line 629) stdout ---- [INFO] [stdout] error: cannot find attribute `cex` in this scope [INFO] [stdout] --> src/lib.rs:634:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[cex] fn foo() -> Result!( i32 throws String, &'static str, SomeError ) {/**/} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] cex_derive::cex [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Result` in this scope [INFO] [stdout] --> src/lib.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[cex] fn foo() -> Result!( i32 throws String, &'static str, SomeError ) {/**/} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cex_derive::Result [INFO] [stdout] = note: `Result` is in scope, but it is an enum, not a macro [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cex` in this scope [INFO] [stdout] --> src/lib.rs:630:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[cex] fn throws_never() -> Result!(i32) {/**/} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] cex_derive::cex [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Result` in this scope [INFO] [stdout] --> src/lib.rs:630:29 [INFO] [stdout] | [INFO] [stdout] 3 | #[cex] fn throws_never() -> Result!(i32) {/**/} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cex_derive::Result [INFO] [stdout] = note: `Result` is in scope, but it is an enum, not a macro [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Result (line 647) stdout ---- [INFO] [stdout] error: cannot find attribute `cex` in this scope [INFO] [stdout] --> src/lib.rs:649:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cex] let v: Result!( i32 throws String ) = try {/**/}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] cex_derive::cex [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Result` in this scope [INFO] [stdout] --> src/lib.rs:649:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[cex] let v: Result!( i32 throws String ) = try {/**/}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cex_derive::Result [INFO] [stdout] = note: `Result` is in scope, but it is an enum, not a macro [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/lib.rs:649:50 [INFO] [stdout] | [INFO] [stdout] 4 | #[cex] let v: Result!( i32 throws String ) = try {/**/}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] = help: add `#![feature(try_blocks)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Result (line 629) [INFO] [stdout] src/lib.rs - Result (line 639) [INFO] [stdout] src/lib.rs - Result (line 647) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "95cd7546c0075466e1ec1a5b70cc2805335a48365e150c1103ed6c86983e7da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cd7546c0075466e1ec1a5b70cc2805335a48365e150c1103ed6c86983e7da5", kill_on_drop: false }` [INFO] [stdout] 95cd7546c0075466e1ec1a5b70cc2805335a48365e150c1103ed6c86983e7da5