[INFO] fetching crate soundchange 0.0.8... [INFO] testing soundchange-0.0.8 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate soundchange 0.0.8 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate soundchange 0.0.8 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-28/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 287ec0286c89c87bdc61a0f7d5ed3528323cda581768da6828fc9398cedfee3d [INFO] running `Command { std: "docker" "start" "-a" "287ec0286c89c87bdc61a0f7d5ed3528323cda581768da6828fc9398cedfee3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "287ec0286c89c87bdc61a0f7d5ed3528323cda581768da6828fc9398cedfee3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287ec0286c89c87bdc61a0f7d5ed3528323cda581768da6828fc9398cedfee3d", kill_on_drop: false }` [INFO] [stdout] 287ec0286c89c87bdc61a0f7d5ed3528323cda581768da6828fc9398cedfee3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a18cd2763e9f7977a4c00242c17484c3023461a781fdab3c8bdfad407acd5f6 [INFO] running `Command { std: "docker" "start" "-a" "8a18cd2763e9f7977a4c00242c17484c3023461a781fdab3c8bdfad407acd5f6", kill_on_drop: false }` [INFO] [stderr] Compiling 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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #![feature(unboxed_closures, core, collections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/lib.rs:175:82 [INFO] [stdout] | [INFO] [stdout] 175 | fn search_loop(&mut self, s: &str, preconds: &[Cond], postconds: &[Cond], mut f: F) [INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | #![feature(unboxed_closures, core, collections)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [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] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | #![feature(unboxed_closures, core, collections)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Copy)] pub struct CharOf<'a>(pub &'a (Fn(Option) -> bool + 'a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - #[derive(Copy)] pub struct CharOf<'a>(pub &'a (Fn(Option) -> bool + 'a)); [INFO] [stdout] 67 + #[derive(Copy)] pub struct CharOf<'a>(pub &'a (dyn Fn(Option) -> bool + 'a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Copy)] pub struct StrOf<'a>(pub &'a (Fn(&str) -> Option<&str> + 'a)); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - #[derive(Copy)] pub struct StrOf<'a>(pub &'a (Fn(&str) -> Option<&str> + 'a)); [INFO] [stdout] 68 + #[derive(Copy)] pub struct StrOf<'a>(pub &'a (dyn Fn(&str) -> Option<&str> + 'a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy)] pub struct CharTo<'a>(pub &'a (Fn(char) -> char + 'a)); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - #[derive(Copy)] pub struct CharTo<'a>(pub &'a (Fn(char) -> char + 'a)); [INFO] [stdout] 69 + #[derive(Copy)] pub struct CharTo<'a>(pub &'a (dyn Fn(char) -> char + 'a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Copy)] pub struct StrTo<'a>(pub &'a (Fn(&str, &mut String) + 'a)); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - #[derive(Copy)] pub struct StrTo<'a>(pub &'a (Fn(&str, &mut String) + 'a)); [INFO] [stdout] 70 + #[derive(Copy)] pub struct StrTo<'a>(pub &'a (dyn Fn(&str, &mut String) + 'a)); [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] = 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 `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] = 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] [stderr] error: could not compile `soundchange` due to 13 previous errors; 6 warnings emitted [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] = 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 `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] = 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 `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] = 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] = 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: aborting due to 12 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a18cd2763e9f7977a4c00242c17484c3023461a781fdab3c8bdfad407acd5f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a18cd2763e9f7977a4c00242c17484c3023461a781fdab3c8bdfad407acd5f6", kill_on_drop: false }` [INFO] [stdout] 8a18cd2763e9f7977a4c00242c17484c3023461a781fdab3c8bdfad407acd5f6