[INFO] fetching crate mime_more 0.1.7... [INFO] checking mime_more-0.1.7 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mime_more 0.1.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mime_more 0.1.7 [INFO] finished tweaking crates.io crate mime_more 0.1.7 [INFO] tweaked toml for crates.io crate mime_more 0.1.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mime_more 0.1.7 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding infer v0.16.0 (available: v0.19.0) [INFO] [stderr] Adding phf v0.11.3 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5c76111db04f96530803d5d60543893369ddb7b8ba3fbe8aaaf1cca5d367a28 [INFO] running `Command { std: "docker" "start" "-a" "f5c76111db04f96530803d5d60543893369ddb7b8ba3fbe8aaaf1cca5d367a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5c76111db04f96530803d5d60543893369ddb7b8ba3fbe8aaaf1cca5d367a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c76111db04f96530803d5d60543893369ddb7b8ba3fbe8aaaf1cca5d367a28", kill_on_drop: false }` [INFO] [stdout] f5c76111db04f96530803d5d60543893369ddb7b8ba3fbe8aaaf1cca5d367a28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7285d04bde6af10ddc216a7c0e99b77693d60d72b0fe43a46205bb8bde1b5d3a [INFO] running `Command { std: "docker" "start" "-a" "7285d04bde6af10ddc216a7c0e99b77693d60d72b0fe43a46205bb8bde1b5d3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking mime_more v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error[E0425]: cannot find function `bench_from_ext` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 7 | fn bench_from_str(c: &mut Criterion) { [INFO] [stdout] | ------------------------------------ similarly named function `bench_from_str` defined here [INFO] [stdout] ... [INFO] [stdout] 154 | benches, bench_from_str, bench_from_ext, bench_from_ext_light, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `bench_from_str` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "extension")] [INFO] [stdout] | --------------------- the item is gated behind the `extension` feature [INFO] [stdout] 17 | fn bench_from_ext(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bench_from_content` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn bench_from_str(c: &mut Criterion) { [INFO] [stdout] | ------------------------------------ similarly named function `bench_from_str` defined here [INFO] [stdout] ... [INFO] [stdout] 155 | bench_from_content, bench_is_texture, bench_isnt_texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `bench_from_str` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "magic")] [INFO] [stdout] | ----------------- the item is gated behind the `magic` feature [INFO] [stdout] 35 | fn bench_from_content(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bench_is_texture` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | bench_from_content, bench_is_texture, bench_isnt_texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "texture")] [INFO] [stdout] | ------------------- the item is gated behind the `texture` feature [INFO] [stdout] 48 | fn bench_is_texture(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bench_isnt_texture` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | bench_from_content, bench_is_texture, bench_isnt_texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(feature = "texture")] [INFO] [stdout] | ------------------- the item is gated behind the `texture` feature [INFO] [stdout] 79 | fn bench_isnt_texture(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bench_large_file_isnt_texture` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | bench_large_file_isnt_texture, bench_dataurl, decode_texture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "texture")] [INFO] [stdout] | ------------------- the item is gated behind the `texture` feature [INFO] [stdout] 106 | fn bench_large_file_isnt_texture(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bench_dataurl` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | bench_large_file_isnt_texture, bench_dataurl, decode_texture [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(feature = "dataurl")] [INFO] [stdout] | ------------------- the item is gated behind the `dataurl` feature [INFO] [stdout] 133 | fn bench_dataurl(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_texture` in this scope [INFO] [stdout] --> benches/function_benchmark.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 156 | bench_large_file_isnt_texture, bench_dataurl, decode_texture [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/function_benchmark.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(feature = "dataurl")] [INFO] [stdout] | ------------------- the item is gated behind the `dataurl` feature [INFO] [stdout] 144 | fn decode_texture(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> benches/function_benchmark.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mime_more` (bench "function_benchmark") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7285d04bde6af10ddc216a7c0e99b77693d60d72b0fe43a46205bb8bde1b5d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7285d04bde6af10ddc216a7c0e99b77693d60d72b0fe43a46205bb8bde1b5d3a", kill_on_drop: false }` [INFO] [stdout] 7285d04bde6af10ddc216a7c0e99b77693d60d72b0fe43a46205bb8bde1b5d3a