[INFO] fetching crate encoded-words 0.2.0... [INFO] testing encoded-words-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate encoded-words 0.2.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate encoded-words 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a66a4eb7f501c5d92926222a1d383a9b73932bdb98e3a129b2608901ab05899 [INFO] running `Command { std: "docker" "start" "-a" "8a66a4eb7f501c5d92926222a1d383a9b73932bdb98e3a129b2608901ab05899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a66a4eb7f501c5d92926222a1d383a9b73932bdb98e3a129b2608901ab05899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a66a4eb7f501c5d92926222a1d383a9b73932bdb98e3a129b2608901ab05899", kill_on_drop: false }` [INFO] [stdout] 8a66a4eb7f501c5d92926222a1d383a9b73932bdb98e3a129b2608901ab05899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e103d809d37ad4d829c2ff829ab7645a8f71ac108e411f18203566e4950f0d1 [INFO] running `Command { std: "docker" "start" "-a" "0e103d809d37ad4d829c2ff829ab7645a8f71ac108e411f18203566e4950f0d1", kill_on_drop: false }` [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling charset v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [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 5.18s [INFO] running `Command { std: "docker" "inspect" "0e103d809d37ad4d829c2ff829ab7645a8f71ac108e411f18203566e4950f0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e103d809d37ad4d829c2ff829ab7645a8f71ac108e411f18203566e4950f0d1", kill_on_drop: false }` [INFO] [stdout] 0e103d809d37ad4d829c2ff829ab7645a8f71ac108e411f18203566e4950f0d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a038b34dfa66187653dc2932e9f81c4c2b519f91fdcfbd1de05edd1c74a16d9 [INFO] running `Command { std: "docker" "start" "-a" "4a038b34dfa66187653dc2932e9f81c4c2b519f91fdcfbd1de05edd1c74a16d9", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "4a038b34dfa66187653dc2932e9f81c4c2b519f91fdcfbd1de05edd1c74a16d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a038b34dfa66187653dc2932e9f81c4c2b519f91fdcfbd1de05edd1c74a16d9", kill_on_drop: false }` [INFO] [stdout] 4a038b34dfa66187653dc2932e9f81c4c2b519f91fdcfbd1de05edd1c74a16d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70a7793f09ddc079b284707ed57958e304a53ac2ae2a8f4469b880fd79a42e12 [INFO] running `Command { std: "docker" "start" "-a" "70a7793f09ddc079b284707ed57958e304a53ac2ae2a8f4469b880fd79a42e12", 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.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/encoded_words-9174257261e5da2d) [INFO] [stdout] running 36 tests [INFO] [stdout] test encoded_words::tests::test_decode_b_invalid_character_and_bad_padding ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_invalid_character ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_missing_padding ... ok [INFO] [stdout] test encoded_words::tests::test_decode_case_ignored_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_case_ignored_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_simple ... ok [INFO] [stdout] test encoded_words::tests::test_decode_non_trivial_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_nonascii_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_nonnull_lang ... ok [INFO] [stdout] test encoded_words::tests::test_decode_b_invalid_length ... ok [INFO] [stdout] test encoded_words::tests::test_decode_q_encoded ... ok [INFO] [stdout] test encoded_words::tests::test_decode_q_spaces ... ok [INFO] [stdout] test encoded_words::tests::test_decode_unknown_8bit_charset ... ok [INFO] [stdout] test encoded_words::tests::test_decode_q_no_encoded ... ok [INFO] [stdout] test encoded_words::tests::test_decode_padding_defect_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_invalid_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_undecodable_bytes_ignored_with_defect_b ... ok [INFO] [stdout] test encoded_words::tests::test_decode_simple_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_escaped_bytes_preserved_q ... ok [INFO] [stdout] test encoded_words::tests::test_decode_wrong_format_input ... 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_b_if_long_unsafe ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_q ... ok [INFO] [stdout] test encoded_words::tests::test_encode_auto_q_if_short_mostly_safe ... 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_encode_lang ... ok [INFO] [stdout] test encoded_words::tests::test_encode_q_encodables ... ok [INFO] [stdout] test encoded_words::tests::test_encode_q_all_safe ... ok [INFO] [stdout] test encoded_words::tests::test_encode_simple_b ... ok [INFO] [stdout] test encoded_words::tests::test_encode_q_spaces ... 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_auto_q_if_mostly_safe ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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" "70a7793f09ddc079b284707ed57958e304a53ac2ae2a8f4469b880fd79a42e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a7793f09ddc079b284707ed57958e304a53ac2ae2a8f4469b880fd79a42e12", kill_on_drop: false }` [INFO] [stdout] 70a7793f09ddc079b284707ed57958e304a53ac2ae2a8f4469b880fd79a42e12