[INFO] fetching crate soundchange 0.0.8... [INFO] checking soundchange-0.0.8 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate soundchange 0.0.8 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate soundchange 0.0.8 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate soundchange 0.0.8 [INFO] finished tweaking crates.io crate soundchange 0.0.8 [INFO] tweaked toml for crates.io crate soundchange 0.0.8 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding log v0.2.5 (available: v0.4.22) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5cb8597a4dda8e569378d2463f790cfa33ee133ffed3a661e87a5f7d732d8ed [INFO] running `Command { std: "docker" "start" "-a" "c5cb8597a4dda8e569378d2463f790cfa33ee133ffed3a661e87a5f7d732d8ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5cb8597a4dda8e569378d2463f790cfa33ee133ffed3a661e87a5f7d732d8ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5cb8597a4dda8e569378d2463f790cfa33ee133ffed3a661e87a5f7d732d8ed", kill_on_drop: false }` [INFO] [stdout] c5cb8597a4dda8e569378d2463f790cfa33ee133ffed3a661e87a5f7d732d8ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9f5eb83a974265ac7579f3c20c9a7d91b13c7059a84f11ff49392dae6049619 [INFO] running `Command { std: "docker" "start" "-a" "c9f5eb83a974265ac7579f3c20c9a7d91b13c7059a84f11ff49392dae6049619", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking log v0.2.5 [INFO] [stderr] Checking soundchange v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::borrow::IntoCow` [INFO] [stdout] --> src/lib.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | use std::borrow::{Cow, IntoCow}; [INFO] [stdout] | ^^^^^^^ no `IntoCow` in `borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::str::CharRange` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use std::str::CharRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CharRange` in `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | #![feature(unboxed_closures, core, collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `at_exit` in module `rt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/log-0.2.5/src/lib.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | rt::at_exit(|| { [INFO] [stdout] | ^^^^^^^ not found in `rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rt`: this public module should not exist and is highly likely to disappear [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/log-0.2.5/src/lib.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | use std::rt; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(rt)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/log-0.2.5/src/lib.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | #![feature(core, std_misc)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CharOf<'a>: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Copy)] pub struct CharOf<'a>(pub &'a (Fn(Option) -> bool + 'a)); [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `CharOf<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `CharOf<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Copy)] #[derive(Clone)] [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StrOf<'a>: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Copy)] pub struct StrOf<'a>(pub &'a (Fn(&str) -> Option<&str> + 'a)); [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `StrOf<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `StrOf<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Copy)] #[derive(Clone)] [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CharTo<'a>: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy)] pub struct CharTo<'a>(pub &'a (Fn(char) -> char + 'a)); [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `CharTo<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `CharTo<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy)] #[derive(Clone)] [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StrTo<'a>: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Copy)] pub struct StrTo<'a>(pub &'a (Fn(&str, &mut String) + 'a)); [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `StrTo<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `StrTo<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Copy)] #[derive(Clone)] [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cond<'a>: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Cond<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Transform<'a>: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Transform<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at_reverse` found for reference `&'b str` in the current scope [INFO] [stdout] --> src/lib.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | let CharRange { ch, next } = s.char_range_at_reverse(s.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&'b str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at_reverse` found for reference `&'b str` in the current scope [INFO] [stdout] --> src/lib.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let CharRange { ch, next } = s.char_range_at_reverse(s.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&'b str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at` found for reference `&'b str` in the current scope [INFO] [stdout] --> src/lib.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | let CharRange { ch, next } = s.char_range_at(0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&'b str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at` found for reference `&'b str` in the current scope [INFO] [stdout] --> src/lib.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | let CharRange { ch, next } = s.char_range_at(0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&'b str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `log` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `into_cow` found for mutable reference `&mut &'a str` in the current scope [INFO] [stdout] --> src/lib.rs:183:39 [INFO] [stdout] | [INFO] [stdout] 183 | let mut search: Cow<_> = self.into_cow(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 183 | let mut search: Cow<_> = self.into(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `init` found for reference `&[Cond<'_>]` in the current scope [INFO] [stdout] --> src/lib.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | preconds = preconds.init(); [INFO] [stdout] | ^^^^ method not found in `&[Cond<'_>]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for reference `&[Cond<'_>]` in the current scope [INFO] [stdout] --> src/lib.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | postconds = postconds.tail(); [INFO] [stdout] | ^^^^ method not found in `&[Cond<'_>]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_range_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | start = s.char_range_at(pos).next; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `subslice_offset` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/lib.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | if !found && last == s.subslice_offset(ss) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cow` found for type `str` in the current scope [INFO] [stdout] --> src/lib.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | Some(last) => s[..last].into_cow(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 323 | Some(last) => s[..last].into(), [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cow` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | None => buf.into_cow() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 324 | None => buf.into() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits` [INFO] [stdout] --> src/lib.rs:295:49 [INFO] [stdout] | [INFO] [stdout] 295 | for c in s.chars() { buf.push(f.call((c,))); } [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 2024-11-23; 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/lib.rs:298:49 [INFO] [stdout] | [INFO] [stdout] 298 | Transform::StrTo(StrTo(ref f)) => f.call((s, buf)), [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 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soundchange` (lib) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "c9f5eb83a974265ac7579f3c20c9a7d91b13c7059a84f11ff49392dae6049619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f5eb83a974265ac7579f3c20c9a7d91b13c7059a84f11ff49392dae6049619", kill_on_drop: false }` [INFO] [stdout] c9f5eb83a974265ac7579f3c20c9a7d91b13c7059a84f11ff49392dae6049619