[INFO] fetching crate cex_derive 0.5.0... [INFO] testing cex_derive-0.5.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate cex_derive 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cex_derive 0.5.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cex_derive 0.5.0 [INFO] finished tweaking crates.io crate cex_derive 0.5.0 [INFO] tweaked toml for crates.io crate cex_derive 0.5.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41205336b40b4710e4c25a8485fc32ac8ddcdd31806d69e6ea20fcb3132ae3b4 [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" "41205336b40b4710e4c25a8485fc32ac8ddcdd31806d69e6ea20fcb3132ae3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41205336b40b4710e4c25a8485fc32ac8ddcdd31806d69e6ea20fcb3132ae3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41205336b40b4710e4c25a8485fc32ac8ddcdd31806d69e6ea20fcb3132ae3b4", kill_on_drop: false }` [INFO] [stdout] 41205336b40b4710e4c25a8485fc32ac8ddcdd31806d69e6ea20fcb3132ae3b4 [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e0418326d087817a841a52686fe2fba60723b9556a9c84add545a4466d207ddb [INFO] running `Command { std: "docker" "start" "-a" "e0418326d087817a841a52686fe2fba60723b9556a9c84add545a4466d207ddb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cex_derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lib.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | panic!( "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in a future Rust edition [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 106 | panic!( "{}", "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.98s [INFO] running `Command { std: "docker" "inspect" "e0418326d087817a841a52686fe2fba60723b9556a9c84add545a4466d207ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0418326d087817a841a52686fe2fba60723b9556a9c84add545a4466d207ddb", kill_on_drop: false }` [INFO] [stdout] e0418326d087817a841a52686fe2fba60723b9556a9c84add545a4466d207ddb [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3b498f2901d7cc1bea4956261517d5d71714962720b3b0c63c4e3460465c15a [INFO] running `Command { std: "docker" "start" "-a" "d3b498f2901d7cc1bea4956261517d5d71714962720b3b0c63c4e3460465c15a", kill_on_drop: false }` [INFO] [stderr] Compiling cex_derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lib.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | panic!( "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in a future Rust edition [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 106 | panic!( "{}", "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lib.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | panic!( "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in a future Rust edition [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 106 | panic!( "{}", "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "d3b498f2901d7cc1bea4956261517d5d71714962720b3b0c63c4e3460465c15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b498f2901d7cc1bea4956261517d5d71714962720b3b0c63c4e3460465c15a", kill_on_drop: false }` [INFO] [stdout] d3b498f2901d7cc1bea4956261517d5d71714962720b3b0c63c4e3460465c15a [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 824f83abe952e922070257fb6709611384230390711846063789556976e43fcb [INFO] running `Command { std: "docker" "start" "-a" "824f83abe952e922070257fb6709611384230390711846063789556976e43fcb", kill_on_drop: false }` [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/lib.rs:106:88 [INFO] [stderr] | [INFO] [stderr] 106 | panic!( "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(panic_fmt)]` on by default [INFO] [stderr] = note: this message is not used as a format string, but will be in a future Rust edition [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 106 | panic!( "{}", "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/lib.rs:106:88 [INFO] [stderr] | [INFO] [stderr] 106 | panic!( "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(panic_fmt)]` on by default [INFO] [stderr] = note: this message is not used as a format string, but will be in a future Rust edition [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 106 | panic!( "{}", "A type deriving `Logger` should be in the form of \"enum Name { Foo(Type), Bar(AnotherType),... }\"" ); [INFO] [stderr] | ^^^^^ [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/cex_derive-cfd5195840a62c9b [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 cex_derive [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - Result (line 645) ... FAILED [INFO] [stdout] test src/lib.rs - Result (line 627) ... FAILED [INFO] [stdout] test src/lib.rs - Result (line 637) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Result (line 645) stdout ---- [INFO] [stdout] error: cannot find attribute `cex` in this scope [INFO] [stdout] --> src/lib.rs:647: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:647: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:647: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 627) stdout ---- [INFO] [stdout] error: cannot find attribute `cex` in this scope [INFO] [stdout] --> src/lib.rs:632: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:632: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:628: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:628: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 637) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:639: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:639: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:639: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:639: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 627) [INFO] [stdout] src/lib.rs - Result (line 637) [INFO] [stdout] src/lib.rs - Result (line 645) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 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" "824f83abe952e922070257fb6709611384230390711846063789556976e43fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824f83abe952e922070257fb6709611384230390711846063789556976e43fcb", kill_on_drop: false }` [INFO] [stdout] 824f83abe952e922070257fb6709611384230390711846063789556976e43fcb