[INFO] cloning repository https://github.com/tikue/fizzbuzz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tikue/fizzbuzz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ad97dd64d1f0f8135f44e116c4eb983d1de1000 [INFO] testing tikue/fizzbuzz against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz" "/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/tikue/fizzbuzz [INFO] finished tweaking git repo https://github.com/tikue/fizzbuzz [INFO] tweaked toml for git repo https://github.com/tikue/fizzbuzz written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tikue/fizzbuzz on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tikue/fizzbuzz 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50c442e5bcb9eec68891f8c17f69d6f4aacb68c9a3e663d11ce627afc1642f71 [INFO] running `Command { std: "docker" "start" "-a" "50c442e5bcb9eec68891f8c17f69d6f4aacb68c9a3e663d11ce627afc1642f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50c442e5bcb9eec68891f8c17f69d6f4aacb68c9a3e663d11ce627afc1642f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c442e5bcb9eec68891f8c17f69d6f4aacb68c9a3e663d11ce627afc1642f71", kill_on_drop: false }` [INFO] [stdout] 50c442e5bcb9eec68891f8c17f69d6f4aacb68c9a3e663d11ce627afc1642f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe0778e0e8f9dbd1b4c5bd1056c2956a680276ce44945db8d6fd8ba18f2bdb16 [INFO] running `Command { std: "docker" "start" "-a" "fe0778e0e8f9dbd1b4c5bd1056c2956a680276ce44945db8d6fd8ba18f2bdb16", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fizzbuzz v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | box Const { x: a } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 16 - box Const { x: a } [INFO] [stdout] 16 + Box::new(Const { x: a }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let x = test(5, "buzz", box Id); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 - let x = test(5, "buzz", box Id); [INFO] [stdout] 42 + let x = test(5, "buzz", Box::new(Id)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; 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:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [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 [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] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(B) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ manual implementations of `Fn` are experimental [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^^^^^^^^^^ manual implementations of `Fn` are experimental [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(String) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^ -------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(fizzbuzz(3).as_slice() == "fizz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(fizzbuzz(5).as_slice() == "buzz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(fizzbuzz(15).as_slice() == "fizzbuzz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(fizzbuzz(7).as_slice() == "7"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0183, E0412, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fizzbuzz` (bin "fizzbuzz") due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fe0778e0e8f9dbd1b4c5bd1056c2956a680276ce44945db8d6fd8ba18f2bdb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe0778e0e8f9dbd1b4c5bd1056c2956a680276ce44945db8d6fd8ba18f2bdb16", kill_on_drop: false }` [INFO] [stdout] fe0778e0e8f9dbd1b4c5bd1056c2956a680276ce44945db8d6fd8ba18f2bdb16