[INFO] cloning repository https://github.com/aisamanra/rust-closure-callback
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aisamanra/rust-closure-callback" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Frust-closure-callback", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Frust-closure-callback'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 970f140e60df2ac6fbf5d5993bc9a4c30dc4b0cc
[INFO] checking aisamanra/rust-closure-callback against 444dcce484c66c8d626806a8556be3b4d3ef381a for pr-160902
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Frust-closure-callback" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aisamanra/rust-closure-callback
[INFO] finished tweaking git repo https://github.com/aisamanra/rust-closure-callback
[INFO] tweaked toml for git repo https://github.com/aisamanra/rust-closure-callback written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aisamanra/rust-closure-callback on toolchain 444dcce484c66c8d626806a8556be3b4d3ef381a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aisamanra/rust-closure-callback 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" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `cb` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gcc v0.3.51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb
[INFO] running `Command { std: "docker" "start" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb" "/opt/rustwide/cargo-home/bin/cargo" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb" "/opt/rustwide/cargo-home/bin/cargo" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `cb` (manifest) generated 1 warning
[INFO] [stderr]    Compiling gcc v0.3.51
[INFO] [stderr]    Compiling cb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn call_callback(cb: extern fn(i32, *const c_void) -> (),
[INFO] [stdout]    |                          ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn call_callback(cb: extern fn(i32, *const c_void) -> (),
[INFO] [stdout]    |                          ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-08-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-08-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use libc::*;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-08-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use libc::*;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-08-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut payload: &mut (Box<Fn(&mut Thingy, i32) -> ()>, &mut Thingy) =
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut payload: &mut (Box<dyn Fn(&mut Thingy, i32) -> ()>, &mut Thingy) =
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut payload: &mut (Box<Fn(&mut Thingy, i32) -> ()>, &mut Thingy) =
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut payload: &mut (Box<dyn Fn(&mut Thingy, i32) -> ()>, &mut Thingy) =
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:70:32
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let boxed_cb: Box<(Box<Fn(&mut Thingy, i32)>, &mut Thingy)> =
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let boxed_cb: Box<(Box<dyn Fn(&mut Thingy, i32)>, &mut Thingy)> =
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:70:32
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let boxed_cb: Box<(Box<Fn(&mut Thingy, i32)>, &mut Thingy)> =
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let boxed_cb: Box<(Box<dyn Fn(&mut Thingy, i32)>, &mut Thingy)> =
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0658`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0658`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cb` (bin "cb") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `cb` (bin "cb" test) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb", kill_on_drop: false }`
[INFO] [stdout] 505566eaf7cb40f2552b31dca6327db0630810078e2c8922ecb655129de85ceb
