[INFO] cloning repository https://github.com/mutohq/Rust--event-loop-handling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mutohq/Rust--event-loop-handling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dc1e5941a1e96bfd877ad965eff4c0e08dae421 [INFO] checking mutohq/Rust--event-loop-handling against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mutohq/Rust--event-loop-handling 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/mutohq/Rust--event-loop-handling [INFO] finished tweaking git repo https://github.com/mutohq/Rust--event-loop-handling [INFO] tweaked toml for git repo https://github.com/mutohq/Rust--event-loop-handling written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mutohq/Rust--event-loop-handling 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 gcc v0.3.28 [INFO] [stderr] Downloaded libc v0.2.12 [INFO] [stderr] Downloaded lazy_static v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 85d59ace67734a1d4eedd214964eb120f9a21b01863b03fee4b1d0bd9d9e83bb [INFO] running `Command { std: "docker" "start" "-a" "85d59ace67734a1d4eedd214964eb120f9a21b01863b03fee4b1d0bd9d9e83bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d59ace67734a1d4eedd214964eb120f9a21b01863b03fee4b1d0bd9d9e83bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d59ace67734a1d4eedd214964eb120f9a21b01863b03fee4b1d0bd9d9e83bb", kill_on_drop: false }` [INFO] [stdout] 85d59ace67734a1d4eedd214964eb120f9a21b01863b03fee4b1d0bd9d9e83bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4d7a23378b5e733ad16159779838732ab95b3cb4b5f77b7970389190334584ea [INFO] running `Command { std: "docker" "start" "-a" "4d7a23378b5e733ad16159779838732ab95b3cb4b5f77b7970389190334584ea", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.28 [INFO] [stderr] Checking libc v0.2.12 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Compiling eventloop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mylib.rs:247:86 [INFO] [stdout] | [INFO] [stdout] 247 | let temp_elem = ToServe{ fd: -1, status:1,register:false,inner:None,call: Some(f)}; [INFO] [stdout] | ---- ^ expected trait `FnMut(i32) + Send`, found trait `FnMut(i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box<(dyn FnMut(i32) + 'static)>` [INFO] [stdout] help: the type constructed contains `Box<(dyn FnMut(i32) + 'static)>` due to the type of the argument passed [INFO] [stdout] --> src/mylib.rs:247:81 [INFO] [stdout] | [INFO] [stdout] 247 | let temp_elem = ToServe{ fd: -1, status:1,register:false,inner:None,call: Some(f)}; [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*call` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/mylib.rs:264:28 [INFO] [stdout] | [INFO] [stdout] 264 | Some(ref call) => call(32), [INFO] [stdout] | ^^^^ `call` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 264 | Some(ref mut call) => call(32), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventloop` (bin "eventloop") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mylib.rs:247:86 [INFO] [stdout] | [INFO] [stdout] 247 | let temp_elem = ToServe{ fd: -1, status:1,register:false,inner:None,call: Some(f)}; [INFO] [stdout] | ---- ^ expected trait `FnMut(i32) + Send`, found trait `FnMut(i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box<(dyn FnMut(i32) + 'static)>` [INFO] [stdout] help: the type constructed contains `Box<(dyn FnMut(i32) + 'static)>` due to the type of the argument passed [INFO] [stdout] --> src/mylib.rs:247:81 [INFO] [stdout] | [INFO] [stdout] 247 | let temp_elem = ToServe{ fd: -1, status:1,register:false,inner:None,call: Some(f)}; [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*call` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/mylib.rs:264:28 [INFO] [stdout] | [INFO] [stdout] 264 | Some(ref call) => call(32), [INFO] [stdout] | ^^^^ `call` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 264 | Some(ref mut call) => call(32), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventloop` (bin "eventloop" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4d7a23378b5e733ad16159779838732ab95b3cb4b5f77b7970389190334584ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d7a23378b5e733ad16159779838732ab95b3cb4b5f77b7970389190334584ea", kill_on_drop: false }` [INFO] [stdout] 4d7a23378b5e733ad16159779838732ab95b3cb4b5f77b7970389190334584ea [INFO] checking mutohq/Rust--event-loop-handling against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling" "/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/mutohq/Rust--event-loop-handling 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/mutohq/Rust--event-loop-handling [INFO] finished tweaking git repo https://github.com/mutohq/Rust--event-loop-handling [INFO] tweaked toml for git repo https://github.com/mutohq/Rust--event-loop-handling written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mutohq/Rust--event-loop-handling 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-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f77088bfe9f00e673a0a6944175d14b114e813f3727a15f137e7f884fe4635be [INFO] running `Command { std: "docker" "start" "-a" "f77088bfe9f00e673a0a6944175d14b114e813f3727a15f137e7f884fe4635be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f77088bfe9f00e673a0a6944175d14b114e813f3727a15f137e7f884fe4635be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77088bfe9f00e673a0a6944175d14b114e813f3727a15f137e7f884fe4635be", kill_on_drop: false }` [INFO] [stdout] f77088bfe9f00e673a0a6944175d14b114e813f3727a15f137e7f884fe4635be [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=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] 246d9751ec7309746fbde82cb6758c249459cb1d211a01074070b00e730ca61e [INFO] running `Command { std: "docker" "start" "-a" "246d9751ec7309746fbde82cb6758c249459cb1d211a01074070b00e730ca61e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "246d9751ec7309746fbde82cb6758c249459cb1d211a01074070b00e730ca61e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246d9751ec7309746fbde82cb6758c249459cb1d211a01074070b00e730ca61e", kill_on_drop: false }` [INFO] [stdout] 246d9751ec7309746fbde82cb6758c249459cb1d211a01074070b00e730ca61e