[INFO] cloning repository https://github.com/memoryleak47/semiprime-factorization [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/memoryleak47/semiprime-factorization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fsemiprime-factorization", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fsemiprime-factorization'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5b4e29975b569d79f46a8d65290b059b4003338 [INFO] checking memoryleak47/semiprime-factorization against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fsemiprime-factorization" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/memoryleak47/semiprime-factorization on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/memoryleak47/semiprime-factorization [INFO] finished tweaking git repo https://github.com/memoryleak47/semiprime-factorization [INFO] tweaked toml for git repo https://github.com/memoryleak47/semiprime-factorization written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/memoryleak47/semiprime-factorization already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 940234cddcda0f2780dffc578d3aaecd4e4d1f4679bfcf6cd3593d3ccf64cb90 [INFO] running `Command { std: "docker" "start" "-a" "940234cddcda0f2780dffc578d3aaecd4e4d1f4679bfcf6cd3593d3ccf64cb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "940234cddcda0f2780dffc578d3aaecd4e4d1f4679bfcf6cd3593d3ccf64cb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940234cddcda0f2780dffc578d3aaecd4e4d1f4679bfcf6cd3593d3ccf64cb90", kill_on_drop: false }` [INFO] [stdout] 940234cddcda0f2780dffc578d3aaecd4e4d1f4679bfcf6cd3593d3ccf64cb90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8745552a43f9ca9a673df6b30f1cf9a6638951e69e39008b6a785dd77fe11ef3 [INFO] running `Command { std: "docker" "start" "-a" "8745552a43f9ca9a673df6b30f1cf9a6638951e69e39008b6a785dd77fe11ef3", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking coprimes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `coroutines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `coroutines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ops::Generator`, `std::ops::GeneratorState` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::{Generator, GeneratorState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `Generator` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ops::Generator`, `std::ops::GeneratorState` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::{Generator, GeneratorState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `Generator` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/main.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | if primes.len() == 1 { yield 1; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | if c % last != 0 { yield c; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/main.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | if primes.len() == 1 { yield 1; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | if c % last != 0 { yield c; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/main.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | if primes.len() == 1 { yield 1; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 40 | let mut generator = #[coroutine] move || { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/main.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | if primes.len() == 1 { yield 1; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 40 | let mut generator = #[coroutine] move || { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `generator_trait` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `generator_trait` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resume` found for struct `Pin<&mut {coroutine@src/main.rs:40:22: 40:29}>` in the current scope [INFO] [stdout] --> src/main.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | match Pin::new(&mut generator).resume(()) { [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut {coroutine@src/main.rs:40:22: 40:29}>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/coroutine.rs:116:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Pin<&mut {coroutine@src/main.rs:40:22: 40:29}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Coroutine` which provides `resume` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::ops::Coroutine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resume` found for struct `Pin<&mut {coroutine@src/main.rs:40:22: 40:29}>` in the current scope [INFO] [stdout] --> src/main.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | match Pin::new(&mut generator).resume(()) { [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut {coroutine@src/main.rs:40:22: 40:29}>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/coroutine.rs:116:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Pin<&mut {coroutine@src/main.rs:40:22: 40:29}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Coroutine` which provides `resume` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::ops::Coroutine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0599, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0599, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coprimes` (bin "coprimes" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `coprimes` (bin "coprimes") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8745552a43f9ca9a673df6b30f1cf9a6638951e69e39008b6a785dd77fe11ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8745552a43f9ca9a673df6b30f1cf9a6638951e69e39008b6a785dd77fe11ef3", kill_on_drop: false }` [INFO] [stdout] 8745552a43f9ca9a673df6b30f1cf9a6638951e69e39008b6a785dd77fe11ef3 [INFO] checking memoryleak47/semiprime-factorization against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fsemiprime-factorization" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/memoryleak47/semiprime-factorization on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/memoryleak47/semiprime-factorization [INFO] finished tweaking git repo https://github.com/memoryleak47/semiprime-factorization [INFO] tweaked toml for git repo https://github.com/memoryleak47/semiprime-factorization written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/memoryleak47/semiprime-factorization already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b86fb2b2d443702d0dd5da92a7857731cab763718fa7f916981deccf007eeebb [INFO] running `Command { std: "docker" "start" "-a" "b86fb2b2d443702d0dd5da92a7857731cab763718fa7f916981deccf007eeebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b86fb2b2d443702d0dd5da92a7857731cab763718fa7f916981deccf007eeebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b86fb2b2d443702d0dd5da92a7857731cab763718fa7f916981deccf007eeebb", kill_on_drop: false }` [INFO] [stdout] b86fb2b2d443702d0dd5da92a7857731cab763718fa7f916981deccf007eeebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 969164485b65e07773788f87cde431517414adcceb4effc3e2d915e9403b6e04 [INFO] running `Command { std: "docker" "start" "-a" "969164485b65e07773788f87cde431517414adcceb4effc3e2d915e9403b6e04", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "969164485b65e07773788f87cde431517414adcceb4effc3e2d915e9403b6e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969164485b65e07773788f87cde431517414adcceb4effc3e2d915e9403b6e04", kill_on_drop: false }` [INFO] [stdout] 969164485b65e07773788f87cde431517414adcceb4effc3e2d915e9403b6e04