[INFO] fetching crate soundchange 0.0.8... [INFO] testing soundchange-0.0.8 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13f39601ed3ae644ddffc1cbf2d34057b45bf62143128bb2407e03032b4f825b [INFO] running `Command { std: "docker" "start" "-a" "13f39601ed3ae644ddffc1cbf2d34057b45bf62143128bb2407e03032b4f825b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13f39601ed3ae644ddffc1cbf2d34057b45bf62143128bb2407e03032b4f825b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f39601ed3ae644ddffc1cbf2d34057b45bf62143128bb2407e03032b4f825b", kill_on_drop: false }` [INFO] [stdout] 13f39601ed3ae644ddffc1cbf2d34057b45bf62143128bb2407e03032b4f825b [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c969c785c29666df940b9ebcd3d2bd21395fa6c4db44c0a1cbb15a5358f120f7 [INFO] running `Command { std: "docker" "start" "-a" "c969c785c29666df940b9ebcd3d2bd21395fa6c4db44c0a1cbb15a5358f120f7", 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 stable 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] 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] [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 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soundchange` due to 10 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c969c785c29666df940b9ebcd3d2bd21395fa6c4db44c0a1cbb15a5358f120f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c969c785c29666df940b9ebcd3d2bd21395fa6c4db44c0a1cbb15a5358f120f7", kill_on_drop: false }` [INFO] [stdout] c969c785c29666df940b9ebcd3d2bd21395fa6c4db44c0a1cbb15a5358f120f7