[INFO] fetching crate encoded-words 0.2.0... [INFO] testing encoded-words-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate encoded-words 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate encoded-words 0.2.0 [INFO] finished tweaking crates.io crate encoded-words 0.2.0 [INFO] tweaked toml for crates.io crate encoded-words 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate encoded-words 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.12.3 (available: v0.22.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c045eca684f790759b51732b8f06ddc873c9dc640bf69459f97a993eb0a166fb [INFO] running `Command { std: "docker" "start" "-a" "c045eca684f790759b51732b8f06ddc873c9dc640bf69459f97a993eb0a166fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c045eca684f790759b51732b8f06ddc873c9dc640bf69459f97a993eb0a166fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c045eca684f790759b51732b8f06ddc873c9dc640bf69459f97a993eb0a166fb", kill_on_drop: false }` [INFO] [stdout] c045eca684f790759b51732b8f06ddc873c9dc640bf69459f97a993eb0a166fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 974709aea5f4ae3ec4bdcb681e6aaa176c728f42099da4bca82ff5003bc6ff5c [INFO] running `Command { std: "docker" "start" "-a" "974709aea5f4ae3ec4bdcb681e6aaa176c728f42099da4bca82ff5003bc6ff5c", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling charset v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling encoded-words v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charset.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn encode(self, input: &str) -> (Cow<[u8]>, bool) { [INFO] [stdout] | ^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn encode(self, input: &str) -> (Cow<'_, [u8]>, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charset.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow, bool) { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow<'_, str>, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.05s [INFO] running `Command { std: "docker" "inspect" "974709aea5f4ae3ec4bdcb681e6aaa176c728f42099da4bca82ff5003bc6ff5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974709aea5f4ae3ec4bdcb681e6aaa176c728f42099da4bca82ff5003bc6ff5c", kill_on_drop: false }` [INFO] [stdout] 974709aea5f4ae3ec4bdcb681e6aaa176c728f42099da4bca82ff5003bc6ff5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b23d779a06b37a632a150c0b388ed79a7f859eb6ced8287a0b78fe56f92fdf4 [INFO] running `Command { std: "docker" "start" "-a" "8b23d779a06b37a632a150c0b388ed79a7f859eb6ced8287a0b78fe56f92fdf4", kill_on_drop: false }` [INFO] [stderr] Compiling encoded-words v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charset.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn encode(self, input: &str) -> (Cow<[u8]>, bool) { [INFO] [stdout] | ^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn encode(self, input: &str) -> (Cow<'_, [u8]>, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charset.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow, bool) { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow<'_, str>, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charset.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn encode(self, input: &str) -> (Cow<[u8]>, bool) { [INFO] [stdout] | ^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn encode(self, input: &str) -> (Cow<'_, [u8]>, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charset.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow, bool) { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow<'_, str>, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "8b23d779a06b37a632a150c0b388ed79a7f859eb6ced8287a0b78fe56f92fdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b23d779a06b37a632a150c0b388ed79a7f859eb6ced8287a0b78fe56f92fdf4", kill_on_drop: false }` [INFO] [stdout] 8b23d779a06b37a632a150c0b388ed79a7f859eb6ced8287a0b78fe56f92fdf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdd73aceb782faede9a98a6d0962d5c1bfe3a457918a634f20e9e9b8ea998140 [INFO] running `Command { std: "docker" "start" "-a" "cdd73aceb782faede9a98a6d0962d5c1bfe3a457918a634f20e9e9b8ea998140", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/charset.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn encode(self, input: &str) -> (Cow<[u8]>, bool) { [INFO] [stderr] | ^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn encode(self, input: &str) -> (Cow<'_, [u8]>, bool) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/charset.rs:85:53 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow, bool) { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn decode_without_bom_handling(self, bytes: &[u8]) -> (Cow<'_, str>, bool) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `encoded-words` (lib) generated 2 warnings (run `cargo fix --lib -p encoded-words` to apply 2 suggestions) [INFO] [stderr] warning: `encoded-words` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/encoded_words-eac361c9fde7321f) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test encoded_words::tests::test_decode_b_invalid_character ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_invalid_length ... ok [INFO] [stdout] test encoded_words::tests::test_decode_case_ignored_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_escaped_bytes_preserved_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_case_ignored_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_invalid_character_and_bad_padding ... ok [INFO] [stdout] test encoded_words::tests::test_decode_invalid_bytes_ignored_with_defect_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_non_trivial_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_q_no_encoded ... ok [INFO] [stdout] test encoded_words::tests::test_decode_q_encoded ... ok [INFO] [stdout] test encoded_words::tests::test_decode_nonnull_lang ... ok [INFO] [stdout] test encoded_words::tests::test_decode_nonascii_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_simple ... ok [INFO] [stdout] test encoded_words::tests::test_decode_padding_defect_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_missing_padding ... ok [INFO] [stdout] test encoded_words::tests::test_decode_q_spaces ... ok [INFO] [stdout] test encoded_words::tests::test_decode_undecodable_bytes_ignored_with_defect_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_simple_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_simple_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_unknown_charset ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_b_if_enough_unsafe ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_q_if_mostly_safe ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_q_if_short_mostly_safe ... ok [INFO] [stdout] test encoded_words::tests::test_decode_unknown_8bit_charset ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_b_if_long_unsafe ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_q ... ok [INFO] [stdout] test encoded_words::tests::test_encode_b_padding ... ok [INFO] [stdout] test encoded_words::tests::test_encode_b_simple ... ok [INFO] [stdout] test encoded_words::tests::test_decode_wrong_format_input ... ok [INFO] [stdout] test encoded_words::tests::test_encode_lang ... ok [INFO] [stdout] test encoded_words::tests::test_encode_q_all_safe ... ok [INFO] [stdout] test encoded_words::tests::test_encode_q_spaces ... ok [INFO] [stdout] test encoded_words::tests::test_encode_q_encodables ... ok [INFO] [stdout] test encoded_words::tests::test_encode_utf8_default ... ok [INFO] [stdout] test encoded_words::tests::test_encode_simple_q ... ok [INFO] [stdout] test encoded_words::tests::test_encode_simple_b ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests encoded_words [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cdd73aceb782faede9a98a6d0962d5c1bfe3a457918a634f20e9e9b8ea998140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd73aceb782faede9a98a6d0962d5c1bfe3a457918a634f20e9e9b8ea998140", kill_on_drop: false }` [INFO] [stdout] cdd73aceb782faede9a98a6d0962d5c1bfe3a457918a634f20e9e9b8ea998140