[INFO] fetching crate tongrams 0.1.4... [INFO] checking tongrams-0.1.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate tongrams 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tongrams 0.1.4 [INFO] finished tweaking crates.io crate tongrams 0.1.4 [INFO] tweaked toml for crates.io crate tongrams 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tongrams 0.1.4 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tongrams 0.1.4 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffc2acf155cdf9279e71d67ad5f4c7cc01d20670ec45081ebb716bd3dfdda0a4 [INFO] running `Command { std: "docker" "start" "-a" "ffc2acf155cdf9279e71d67ad5f4c7cc01d20670ec45081ebb716bd3dfdda0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffc2acf155cdf9279e71d67ad5f4c7cc01d20670ec45081ebb716bd3dfdda0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc2acf155cdf9279e71d67ad5f4c7cc01d20670ec45081ebb716bd3dfdda0a4", kill_on_drop: false }` [INFO] [stdout] ffc2acf155cdf9279e71d67ad5f4c7cc01d20670ec45081ebb716bd3dfdda0a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7587eb00471c2d283cab437fe547943b84fc3b278d9234fc1cf54d5fc3a283d3 [INFO] running `Command { std: "docker" "start" "-a" "7587eb00471c2d283cab437fe547943b84fc3b278d9234fc1cf54d5fc3a283d3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking yada v0.5.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking sucds v0.2.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tongrams v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/record.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn gram(&self) -> Gram { [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] 19 | pub fn gram(&self) -> Gram<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie_count_lm.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn lookuper(&self) -> TrieCountLmLookuper { [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] 262 | pub fn lookuper(&self) -> TrieCountLmLookuper<'_, T, V, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_count_model.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let loader = GramsGzFileLoader::new(PathBuf::from_str(filename).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tongrams` (test "test_count_model") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/record.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn gram(&self) -> Gram { [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] 19 | pub fn gram(&self) -> Gram<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie_count_lm.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn lookuper(&self) -> TrieCountLmLookuper { [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] 262 | pub fn lookuper(&self) -> TrieCountLmLookuper<'_, T, V, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7587eb00471c2d283cab437fe547943b84fc3b278d9234fc1cf54d5fc3a283d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7587eb00471c2d283cab437fe547943b84fc3b278d9234fc1cf54d5fc3a283d3", kill_on_drop: false }` [INFO] [stdout] 7587eb00471c2d283cab437fe547943b84fc3b278d9234fc1cf54d5fc3a283d3