[INFO] fetching crate toktkn 0.1.2... [INFO] checking toktkn-0.1.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate toktkn 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate toktkn 0.1.2 [INFO] finished tweaking crates.io crate toktkn 0.1.2 [INFO] tweaked toml for crates.io crate toktkn 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toktkn 0.1.2 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 toktkn 0.1.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f6d1770a9e478009b3a6f87434e593299e72bb86daae08674dbfcbe91898cf4e [INFO] running `Command { std: "docker" "start" "-a" "f6d1770a9e478009b3a6f87434e593299e72bb86daae08674dbfcbe91898cf4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6d1770a9e478009b3a6f87434e593299e72bb86daae08674dbfcbe91898cf4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d1770a9e478009b3a6f87434e593299e72bb86daae08674dbfcbe91898cf4e", kill_on_drop: false }` [INFO] [stdout] f6d1770a9e478009b3a6f87434e593299e72bb86daae08674dbfcbe91898cf4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 974648491cfba78d62ba294b467cbb1e25e923b1421dbaca6ecd1a954dd6b434 [INFO] running `Command { std: "docker" "start" "-a" "974648491cfba78d62ba294b467cbb1e25e923b1421dbaca6ecd1a954dd6b434", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.24.0 [INFO] [stderr] Checking tqdm v0.7.0 [INFO] [stderr] Checking fake v3.1.0 [INFO] [stderr] Compiling pyo3-ffi v0.24.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.0 [INFO] [stderr] Compiling pyo3 v0.24.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rstest v0.24.0 [INFO] [stderr] Compiling pyo3-macros v0.24.0 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking toktkn v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `l` is never read [INFO] [stdout] --> src/tokenizer.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | l.1 = Token::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `l` is never read [INFO] [stdout] --> src/tokenizer.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | l.1 = Token::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bindings.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn preprocess(&self, mut text: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bindings.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn train(&mut self, text: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bindings.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn encode(&mut self, text: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bindings.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn decode(&mut self, ids: Vec) -> String{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toktkn` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bindings.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn preprocess(&self, mut text: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bindings.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn train(&mut self, text: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bindings.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn encode(&mut self, text: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bindings.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn decode(&mut self, ids: Vec) -> String{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toktkn` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "974648491cfba78d62ba294b467cbb1e25e923b1421dbaca6ecd1a954dd6b434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974648491cfba78d62ba294b467cbb1e25e923b1421dbaca6ecd1a954dd6b434", kill_on_drop: false }` [INFO] [stdout] 974648491cfba78d62ba294b467cbb1e25e923b1421dbaca6ecd1a954dd6b434