[INFO] fetching crate generator 0.6.22... [INFO] checking generator-0.6.22 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate generator 0.6.22 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate generator 0.6.22 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate generator 0.6.22 [INFO] finished tweaking crates.io crate generator 0.6.22 [INFO] tweaked toml for crates.io crate generator 0.6.22 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate generator 0.6.22 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91d2825ff93ca3b5121a05bc0b3c202fea2012e698762277cea4882c51466f73 [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" "91d2825ff93ca3b5121a05bc0b3c202fea2012e698762277cea4882c51466f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91d2825ff93ca3b5121a05bc0b3c202fea2012e698762277cea4882c51466f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d2825ff93ca3b5121a05bc0b3c202fea2012e698762277cea4882c51466f73", kill_on_drop: false }` [INFO] [stdout] 91d2825ff93ca3b5121a05bc0b3c202fea2012e698762277cea4882c51466f73 [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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 3d73fc869dc60bf9042c427feb0c6e64f8f7814f129012e5f6478f564e6b07dc [INFO] running `Command { std: "docker" "start" "-a" "3d73fc869dc60bf9042c427feb0c6e64f8f7814f129012e5f6478f564e6b07dc", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling generator v0.6.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/gen_impl.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 358 | panic::resume_unwind(err); [INFO] [stdout] | ------------------------- not a function [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/gen_impl.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 398 | return None; [INFO] [stdout] | ----------- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/gen_impl.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 414 | return None; [INFO] [stdout] | ----------- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/rt.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 191 | init_root_p(); [INFO] [stdout] | ------------- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a function [INFO] [stdout] --> src/gen_impl.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 358 | panic::resume_unwind(err); [INFO] [stdout] | ------------------------- not a function [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_attributes)]` implied by `#[deny(warnings)]` [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] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a function [INFO] [stdout] --> src/gen_impl.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 398 | return None; [INFO] [stdout] | ----------- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a function [INFO] [stdout] --> src/gen_impl.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 414 | return None; [INFO] [stdout] | ----------- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a function [INFO] [stdout] --> src/rt.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 191 | init_root_p(); [INFO] [stdout] | ------------- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a function [INFO] [stdout] --> src/yield_.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 88 | / { [INFO] [stdout] 89 | | error!("get yield from none generator context"); [INFO] [stdout] 90 | | panic!(Error::ContextErr); [INFO] [stdout] 91 | | } [INFO] [stdout] | |_________- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/yield_.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 88 | / { [INFO] [stdout] 89 | | error!("get yield from none generator context"); [INFO] [stdout] 90 | | panic!(Error::ContextErr); [INFO] [stdout] 91 | | } [INFO] [stdout] | |_________- not a function [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `generator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3d73fc869dc60bf9042c427feb0c6e64f8f7814f129012e5f6478f564e6b07dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d73fc869dc60bf9042c427feb0c6e64f8f7814f129012e5f6478f564e6b07dc", kill_on_drop: false }` [INFO] [stdout] 3d73fc869dc60bf9042c427feb0c6e64f8f7814f129012e5f6478f564e6b07dc