[INFO] fetching crate cex_derive 0.5.2... [INFO] testing cex_derive-0.5.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate cex_derive 0.5.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cex_derive 0.5.2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0b51283c64ab73f2649e58532a4492177c98ea067fde52bc332e7dedeaa9df5 [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" "a0b51283c64ab73f2649e58532a4492177c98ea067fde52bc332e7dedeaa9df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0b51283c64ab73f2649e58532a4492177c98ea067fde52bc332e7dedeaa9df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b51283c64ab73f2649e58532a4492177c98ea067fde52bc332e7dedeaa9df5", kill_on_drop: false }` [INFO] [stdout] a0b51283c64ab73f2649e58532a4492177c98ea067fde52bc332e7dedeaa9df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1362d3944f814748b3ab5482d00e12c1277ba4a27e6e603aebfd848cb2782de5 [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" "1362d3944f814748b3ab5482d00e12c1277ba4a27e6e603aebfd848cb2782de5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cex_derive v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.76s [INFO] running `Command { std: "docker" "inspect" "1362d3944f814748b3ab5482d00e12c1277ba4a27e6e603aebfd848cb2782de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1362d3944f814748b3ab5482d00e12c1277ba4a27e6e603aebfd848cb2782de5", kill_on_drop: false }` [INFO] [stdout] 1362d3944f814748b3ab5482d00e12c1277ba4a27e6e603aebfd848cb2782de5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf21f93d46a81a672496ecf6d818a7b8ac34fca45f2cb2b0fc5ae2a6d738133 [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" "0cf21f93d46a81a672496ecf6d818a7b8ac34fca45f2cb2b0fc5ae2a6d738133", kill_on_drop: false }` [INFO] [stderr] Compiling cex_derive v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "0cf21f93d46a81a672496ecf6d818a7b8ac34fca45f2cb2b0fc5ae2a6d738133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf21f93d46a81a672496ecf6d818a7b8ac34fca45f2cb2b0fc5ae2a6d738133", kill_on_drop: false }` [INFO] [stdout] 0cf21f93d46a81a672496ecf6d818a7b8ac34fca45f2cb2b0fc5ae2a6d738133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 965346ae3ff7684d2aa31aff259cfb4c0be003dbb0e1072a5b13cf48e05129b0 [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" "965346ae3ff7684d2aa31aff259cfb4c0be003dbb0e1072a5b13cf48e05129b0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cex_derive-20063958910680df) [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 647) ... FAILED [INFO] [stdout] test src/lib.rs - Result (line 629) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - Result (line 639) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 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] [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] ---- 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] 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] [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] 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] [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 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] 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] [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] [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.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "965346ae3ff7684d2aa31aff259cfb4c0be003dbb0e1072a5b13cf48e05129b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965346ae3ff7684d2aa31aff259cfb4c0be003dbb0e1072a5b13cf48e05129b0", kill_on_drop: false }` [INFO] [stdout] 965346ae3ff7684d2aa31aff259cfb4c0be003dbb0e1072a5b13cf48e05129b0