[INFO] fetching crate whaterror 0.1.0... [INFO] checking whaterror-0.1.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate whaterror 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate whaterror 0.1.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate whaterror 0.1.0 [INFO] finished tweaking crates.io crate whaterror 0.1.0 [INFO] tweaked toml for crates.io crate whaterror 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate whaterror 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whaterror_macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be5dac5d2c9f04375bdd774846139dc32a478acc1f7d8f936cade036bdc738f2 [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" "be5dac5d2c9f04375bdd774846139dc32a478acc1f7d8f936cade036bdc738f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be5dac5d2c9f04375bdd774846139dc32a478acc1f7d8f936cade036bdc738f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5dac5d2c9f04375bdd774846139dc32a478acc1f7d8f936cade036bdc738f2", kill_on_drop: false }` [INFO] [stdout] be5dac5d2c9f04375bdd774846139dc32a478acc1f7d8f936cade036bdc738f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf357f0eda1a6272ce9f01be39d7e9cfb670dd35da1d4285e8a45220b7e985ee [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" "bf357f0eda1a6272ce9f01be39d7e9cfb670dd35da1d4285e8a45220b7e985ee", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling whaterror_macros v0.1.0 [INFO] [stderr] Checking whaterror v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown `doc` attribute `transparent` [INFO] [stdout] --> src/lib.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[doc(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `transparent` [INFO] [stdout] --> src/lib.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[doc(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/smoke.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | #[whaterror(panic!(PanicMarker))] [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/smoke.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | #[whaterror(|| panic!(PanicMarker))] [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/smoke.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | #[whaterror(|err| { assert_eq!(err, 123); panic!(PanicMarker); })] [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `<() as whaterror::Termination>::Ok` [INFO] [stdout] --> examples/simple.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[whaterror(())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] = note: this error originates in the attribute macro `whaterror` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whaterror` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bf357f0eda1a6272ce9f01be39d7e9cfb670dd35da1d4285e8a45220b7e985ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf357f0eda1a6272ce9f01be39d7e9cfb670dd35da1d4285e8a45220b7e985ee", kill_on_drop: false }` [INFO] [stdout] bf357f0eda1a6272ce9f01be39d7e9cfb670dd35da1d4285e8a45220b7e985ee