[INFO] fetching crate localize 0.2.0... [INFO] testing localize-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate localize 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate localize 0.2.0 [INFO] finished tweaking crates.io crate localize 0.2.0 [INFO] tweaked toml for crates.io crate localize 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate localize 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate localize 0.2.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded simple_logger v1.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 698f27e94ddb252d4eb0ed61a8b91c2b2db7172c189bb11a2feadbed0bc2f4bb [INFO] running `Command { std: "docker" "start" "-a" "698f27e94ddb252d4eb0ed61a8b91c2b2db7172c189bb11a2feadbed0bc2f4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "698f27e94ddb252d4eb0ed61a8b91c2b2db7172c189bb11a2feadbed0bc2f4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "698f27e94ddb252d4eb0ed61a8b91c2b2db7172c189bb11a2feadbed0bc2f4bb", kill_on_drop: false }` [INFO] [stdout] 698f27e94ddb252d4eb0ed61a8b91c2b2db7172c189bb11a2feadbed0bc2f4bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f001094a14c71dda01e61fb1dca49ec301aa0daad970cd04a29e2315c8ba5e1e [INFO] running `Command { std: "docker" "start" "-a" "f001094a14c71dda01e61fb1dca49ec301aa0daad970cd04a29e2315c8ba5e1e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling localize v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [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] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.37s [INFO] running `Command { std: "docker" "inspect" "f001094a14c71dda01e61fb1dca49ec301aa0daad970cd04a29e2315c8ba5e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f001094a14c71dda01e61fb1dca49ec301aa0daad970cd04a29e2315c8ba5e1e", kill_on_drop: false }` [INFO] [stdout] f001094a14c71dda01e61fb1dca49ec301aa0daad970cd04a29e2315c8ba5e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ad8a4c1ab38d7bf0869c882c33f1a750f28a9a92baa75b82aa1ba9b6ebf3c25 [INFO] running `Command { std: "docker" "start" "-a" "9ad8a4c1ab38d7bf0869c882c33f1a750f28a9a92baa75b82aa1ba9b6ebf3c25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling localize v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [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] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling simple_logger v1.16.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [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] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "9ad8a4c1ab38d7bf0869c882c33f1a750f28a9a92baa75b82aa1ba9b6ebf3c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad8a4c1ab38d7bf0869c882c33f1a750f28a9a92baa75b82aa1ba9b6ebf3c25", kill_on_drop: false }` [INFO] [stdout] 9ad8a4c1ab38d7bf0869c882c33f1a750f28a9a92baa75b82aa1ba9b6ebf3c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95629c79671dbb0f35ab2362b5a2bde85001823d895cd61b018b9373f0633b54 [INFO] running `Command { std: "docker" "start" "-a" "95629c79671dbb0f35ab2362b5a2bde85001823d895cd61b018b9373f0633b54", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:118:34 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [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] 118 | pub fn localize_no_cache<'w>(&self, tag: &'w str) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:31:29 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 31 | pub fn look_up_or_fetch(&self, tag: &str, sources: &Sources) -> crate::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `localize` (lib) generated 2 warnings (run `cargo fix --lib -p localize` to apply 2 suggestions) [INFO] [stderr] warning: `localize` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/localize-e2b2bfc4446f5588) [INFO] [stdout] [INFO] [stderr] Doc-tests localize [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Localizer` [INFO] [stdout] --> src/lib.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 12 | let localizer = Localizer::new("locales/").precache_all().debug(true); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Localizer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use localize::Localizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "95629c79671dbb0f35ab2362b5a2bde85001823d895cd61b018b9373f0633b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95629c79671dbb0f35ab2362b5a2bde85001823d895cd61b018b9373f0633b54", kill_on_drop: false }` [INFO] [stdout] 95629c79671dbb0f35ab2362b5a2bde85001823d895cd61b018b9373f0633b54