[INFO] cloning repository https://github.com/KarsMulder/evsieve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KarsMulder/evsieve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarsMulder%2Fevsieve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarsMulder%2Fevsieve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce4983a8311e8d56766952f3a27146447b71b407 [INFO] checking KarsMulder/evsieve against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarsMulder%2Fevsieve" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KarsMulder/evsieve on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KarsMulder/evsieve [INFO] finished tweaking git repo https://github.com/KarsMulder/evsieve [INFO] tweaked toml for git repo https://github.com/KarsMulder/evsieve written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KarsMulder/evsieve 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3733f45be12dc8d8fa41d5092f86302da4da2e8ef8e5f3d1543ae34bf09160f4 [INFO] running `Command { std: "docker" "start" "-a" "3733f45be12dc8d8fa41d5092f86302da4da2e8ef8e5f3d1543ae34bf09160f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3733f45be12dc8d8fa41d5092f86302da4da2e8ef8e5f3d1543ae34bf09160f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3733f45be12dc8d8fa41d5092f86302da4da2e8ef8e5f3d1543ae34bf09160f4", kill_on_drop: false }` [INFO] [stdout] 3733f45be12dc8d8fa41d5092f86302da4da2e8ef8e5f3d1543ae34bf09160f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e7b56b0cc79b42e58c2fe26c10ef41b88d2cc438f6dd8c1c42581978b8fad6 [INFO] running `Command { std: "docker" "start" "-a" "44e7b56b0cc79b42e58c2fe26c10ef41b88d2cc438f6dd8c1c42581978b8fad6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling evsieve v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `epoll` as mutable more than once at a time [INFO] [stdout] --> src/subprocess.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 155 | for message in epoll.poll(crate::io::epoll::INDEFINITE_TIMEOUT).expect("Failed to poll an epoll.") { [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 160 | let siginfo = epoll[index].read_raw() [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `epoll` as mutable more than once at a time [INFO] [stdout] --> src/subprocess.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 155 | for message in epoll.poll(crate::io::epoll::INDEFINITE_TIMEOUT).expect("Failed to poll an epoll.") { [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 160 | let siginfo = epoll[index].read_raw() [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*epoll` as mutable more than once at a time [INFO] [stdout] --> src/persist/subsystem.rs:131:75 [INFO] [stdout] | [INFO] [stdout] 123 | match epoll.poll(crate::io::epoll::INDEFINITE_TIMEOUT) { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 131 | Message::Ready(index) | Message::Hup(index) => match &mut epoll[index] { [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Result, error::SystemError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 230 | match handle_ready_file(program, index) { [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:234:48 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 234 | handle_broken_file(program, index) [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 239 | handle_broken_file(program, index) [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `program.epoll` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the mutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 242 | match program.epoll.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the mutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:248:48 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 248 | handle_broken_file(program, index) [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:250:49 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 250 | _ => handle_broken_file(program, index), [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*epoll` as mutable more than once at a time [INFO] [stdout] --> src/persist/subsystem.rs:131:75 [INFO] [stdout] | [INFO] [stdout] 123 | match epoll.poll(crate::io::epoll::INDEFINITE_TIMEOUT) { [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 131 | Message::Ready(index) | Message::Hup(index) => match &mut epoll[index] { [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Result, error::SystemError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `evsieve` (bin "evsieve") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 230 | match handle_ready_file(program, index) { [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:234:48 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 234 | handle_broken_file(program, index) [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 239 | handle_broken_file(program, index) [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `program.epoll` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the mutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 242 | match program.epoll.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the mutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:248:48 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 248 | handle_broken_file(program, index) [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*program` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:250:49 [INFO] [stdout] | [INFO] [stdout] 225 | let messages = program.epoll.poll(timeout).with_context("While polling the epoll for events:")?; [INFO] [stdout] | ------------- first mutable borrow occurs here [INFO] [stdout] 226 | [INFO] [stdout] 227 | for message in messages { [INFO] [stdout] | -------- a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 250 | _ => handle_broken_file(program, index), [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `evsieve` (bin "evsieve" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "44e7b56b0cc79b42e58c2fe26c10ef41b88d2cc438f6dd8c1c42581978b8fad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e7b56b0cc79b42e58c2fe26c10ef41b88d2cc438f6dd8c1c42581978b8fad6", kill_on_drop: false }` [INFO] [stdout] 44e7b56b0cc79b42e58c2fe26c10ef41b88d2cc438f6dd8c1c42581978b8fad6