[INFO] fetching crate case 1.0.0... [INFO] checking case-1.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate case 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate case 1.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate case 1.0.0 [INFO] finished tweaking crates.io crate case 1.0.0 [INFO] tweaked toml for crates.io crate case 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eb4d0db7728ba1fe3217d0c7ee6d456f4593f8e94cdea2e3bce909978b0c4e7 [INFO] running `Command { std: "docker" "start" "-a" "5eb4d0db7728ba1fe3217d0c7ee6d456f4593f8e94cdea2e3bce909978b0c4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb4d0db7728ba1fe3217d0c7ee6d456f4593f8e94cdea2e3bce909978b0c4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb4d0db7728ba1fe3217d0c7ee6d456f4593f8e94cdea2e3bce909978b0c4e7", kill_on_drop: false }` [INFO] [stdout] 5eb4d0db7728ba1fe3217d0c7ee6d456f4593f8e94cdea2e3bce909978b0c4e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19a021b16b521b7f92b1d09e4a66fda5c9594e4e56e7de244ac0bfe74c2ac904 [INFO] running `Command { std: "docker" "start" "-a" "19a021b16b521b7f92b1d09e4a66fda5c9594e4e56e7de244ac0bfe74c2ac904", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking case v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/bench.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | b.iter(|| CaseExt::to_lowercase("MY favorite STRING")); [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)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | b.iter(|| ::to_lowercase("MY favorite STRING")); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Owned` in `CaseExt` must be specified [INFO] [stdout] --> benches/bench.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | b.iter(|| CaseExt::to_lowercase("MY favorite STRING")); [INFO] [stdout] | ^^^^^^^ help: specify the associated type: `CaseExt::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_lowercase` found for trait object `dyn CaseExt` in the current scope [INFO] [stdout] --> benches/bench.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | b.iter(|| CaseExt::to_lowercase("MY favorite STRING")); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `dyn CaseExt` [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_camel_lowercase` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_camel_lowercase(&self) -> Self::Owned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/bench.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | b.iter(|| CaseExt::to_uppercase("my_favorite_string")); [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | b.iter(|| ::to_uppercase("my_favorite_string")); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Owned` in `CaseExt` must be specified [INFO] [stdout] --> benches/bench.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | b.iter(|| CaseExt::to_uppercase("my_favorite_string")); [INFO] [stdout] | ^^^^^^^ help: specify the associated type: `CaseExt::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_uppercase` found for trait object `dyn CaseExt` in the current scope [INFO] [stdout] --> benches/bench.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | b.iter(|| CaseExt::to_uppercase("my_favorite_string")); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `dyn CaseExt` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/slice.rs:117:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: could not compile `case` (bench "bench") due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "19a021b16b521b7f92b1d09e4a66fda5c9594e4e56e7de244ac0bfe74c2ac904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a021b16b521b7f92b1d09e4a66fda5c9594e4e56e7de244ac0bfe74c2ac904", kill_on_drop: false }` [INFO] [stdout] 19a021b16b521b7f92b1d09e4a66fda5c9594e4e56e7de244ac0bfe74c2ac904