[INFO] fetching crate portal-pc-license-key 0.3.0... [INFO] testing portal-pc-license-key-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate portal-pc-license-key 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate portal-pc-license-key 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate portal-pc-license-key 0.3.0 [INFO] tweaked toml for crates.io crate portal-pc-license-key 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate portal-pc-license-key 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate portal-pc-license-key 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64c5edb32dfa8fce9b351dac325130214872a74dae6f8806f91f0ce8ee316716 [INFO] running `Command { std: "docker" "start" "-a" "64c5edb32dfa8fce9b351dac325130214872a74dae6f8806f91f0ce8ee316716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64c5edb32dfa8fce9b351dac325130214872a74dae6f8806f91f0ce8ee316716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c5edb32dfa8fce9b351dac325130214872a74dae6f8806f91f0ce8ee316716", kill_on_drop: false }` [INFO] [stdout] 64c5edb32dfa8fce9b351dac325130214872a74dae6f8806f91f0ce8ee316716 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23d61030656ffb96301496ab269412eca6708374b84615c42d9dc85ba40da828 [INFO] running `Command { std: "docker" "start" "-a" "23d61030656ffb96301496ab269412eca6708374b84615c42d9dc85ba40da828", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling portal-pc-license-key v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/lib.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 143 | fn deserialize(input: &str) -> Result, impl Error>; [INFO] [stdout] | --------------------------- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 153 | fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 153 - fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stdout] 153 + fn deserialize(input: &str) -> Result, impl std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "23d61030656ffb96301496ab269412eca6708374b84615c42d9dc85ba40da828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d61030656ffb96301496ab269412eca6708374b84615c42d9dc85ba40da828", kill_on_drop: false }` [INFO] [stdout] 23d61030656ffb96301496ab269412eca6708374b84615c42d9dc85ba40da828 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc9834e82625296d15b9fdb9604f4f24912f140437debfef836d3a0790fc8cde [INFO] running `Command { std: "docker" "start" "-a" "cc9834e82625296d15b9fdb9604f4f24912f140437debfef836d3a0790fc8cde", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/lib.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 143 | fn deserialize(input: &str) -> Result, impl Error>; [INFO] [stdout] | --------------------------- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 153 | fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 153 - fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stdout] 153 + fn deserialize(input: &str) -> Result, impl std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling portal-pc-license-key v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/lib.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 143 | fn deserialize(input: &str) -> Result, impl Error>; [INFO] [stdout] | --------------------------- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 153 | fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 153 - fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stdout] 153 + fn deserialize(input: &str) -> Result, impl std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.59s [INFO] running `Command { std: "docker" "inspect" "cc9834e82625296d15b9fdb9604f4f24912f140437debfef836d3a0790fc8cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc9834e82625296d15b9fdb9604f4f24912f140437debfef836d3a0790fc8cde", kill_on_drop: false }` [INFO] [stdout] cc9834e82625296d15b9fdb9604f4f24912f140437debfef836d3a0790fc8cde [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f30332dcbfc0e97e686c3932c5357b40e7b998b027de7ff13c473f5288206e5 [INFO] running `Command { std: "docker" "start" "-a" "1f30332dcbfc0e97e686c3932c5357b40e7b998b027de7ff13c473f5288206e5", kill_on_drop: false }` [INFO] [stderr] warning: impl trait in impl method signature does not match trait method signature [INFO] [stderr] --> src/lib.rs:153:36 [INFO] [stderr] | [INFO] [stderr] 143 | fn deserialize(input: &str) -> Result, impl Error>; [INFO] [stderr] | --------------------------- return type from trait method defined here [INFO] [stderr] ... [INFO] [stderr] 153 | fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stderr] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stderr] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stderr] help: replace the return type so that it matches the trait [INFO] [stderr] | [INFO] [stderr] 153 - fn deserialize(input: &str) -> Result, FromHexError> { [INFO] [stderr] 153 + fn deserialize(input: &str) -> Result, impl std::error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `portal-pc-license-key` (lib) generated 1 warning [INFO] [stderr] warning: `portal-pc-license-key` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/license_key-fb64b360f1d1c3aa) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::valid_but_blocked_key_should_return_error ... ok [INFO] [stdout] test tests::valid_key_should_be_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests license_key [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 39) ... ok [INFO] [stdout] test src/lib.rs - (line 79) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f30332dcbfc0e97e686c3932c5357b40e7b998b027de7ff13c473f5288206e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f30332dcbfc0e97e686c3932c5357b40e7b998b027de7ff13c473f5288206e5", kill_on_drop: false }` [INFO] [stdout] 1f30332dcbfc0e97e686c3932c5357b40e7b998b027de7ff13c473f5288206e5