[INFO] fetching crate rustruut 0.0.4... [INFO] testing rustruut-0.0.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate rustruut 0.0.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rustruut 0.0.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rustruut 0.0.4 [INFO] tweaked toml for crates.io crate rustruut 0.0.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustruut 0.0.4 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 rustruut 0.0.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded platforms v3.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9b3f740e7d22f2fb449c3f4cde811d97b23c845c6abe76f94d47916ea408800e [INFO] running `Command { std: "docker" "start" "-a" "9b3f740e7d22f2fb449c3f4cde811d97b23c845c6abe76f94d47916ea408800e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b3f740e7d22f2fb449c3f4cde811d97b23c845c6abe76f94d47916ea408800e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3f740e7d22f2fb449c3f4cde811d97b23c845c6abe76f94d47916ea408800e", kill_on_drop: false }` [INFO] [stdout] 9b3f740e7d22f2fb449c3f4cde811d97b23c845c6abe76f94d47916ea408800e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e5d614f96c064e2c26ca8ccd15d1ad555aa87a05c33b582edf5047445894858c [INFO] running `Command { std: "docker" "start" "-a" "e5d614f96c064e2c26ca8ccd15d1ad555aa87a05c33b582edf5047445894858c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling platforms v3.6.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rustruut v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Api`, `DictGetter`, `IpaFlavor`, and `PolicyMaxWords` [INFO] [stdout] --> src/di.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | use super::super::interfaces::{Api, DictGetter, Folder, IpaFlavor, PolicyMaxWords}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/usecases/rustruut.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/usecases/rustruut.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 213 | let result = match rx.recv_timeout(Duration::from_secs(30)) { [INFO] [stdout] | ______________________- [INFO] [stdout] 214 | | Ok(Some(())) => { [INFO] [stdout] 215 | | // Found "Serving..." message [INFO] [stdout] 216 | | let s = Self { [INFO] [stdout] ... | [INFO] [stdout] 261 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 264 | / if let Ok(Some(status)) = child.try_wait() { [INFO] [stdout] 265 | | return Err(RustruutError::Process(format!( [INFO] [stdout] 266 | | "Process exited early with status: {}", [INFO] [stdout] 267 | | status [INFO] [stdout] 268 | | ))); [INFO] [stdout] 269 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/usecases/executable.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, copy, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/usecases/rustruut.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let result = match rx.recv_timeout(Duration::from_secs(30)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> src/usecases/rustruut.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | api: Option<&str>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ipa`, `dict`, and `folder` are never read [INFO] [stdout] --> src/usecases/config.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Config
[INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | ipa: I, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | dict: D, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | api: A, [INFO] [stdout] 36 | folder: F, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `policy`, `ipa`, `dict_getter`, `api`, and `maxwrds` are never read [INFO] [stdout] --> src/usecases/phonemize.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PhonemizeUsecaseImpl
[INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | policy: P, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | ipa: I, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | dict_getter: D, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | api: A, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | maxwrds: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `policy`, `ipa`, `dict_getter`, `executable`, `platform`, and `version` are never read [INFO] [stdout] --> src/usecases/rustruut.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Goruut
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 | policy: P,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 81 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 82 | dict_getter: D,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 83 | executable: Option
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 34 | dict: D,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 35 | api: A,
[INFO] [stdout] 36 | folder: F,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `policy`, `ipa`, `dict_getter`, `api`, and `maxwrds` are never read
[INFO] [stdout] --> src/usecases/phonemize.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 31 | pub struct PhonemizeUsecaseImpl
[INFO] [stdout] | -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 | policy: P,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 40 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 41 | dict_getter: D,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 42 | api: A,
[INFO] [stdout] | ^^^
[INFO] [stdout] 43 | maxwrds: usize,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling rustruut v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `policy`, `ipa`, `dict_getter`, `executable`, `platform`, and `version` are never read
[INFO] [stdout] --> src/usecases/rustruut.rs:80:5
[INFO] [stdout] |
[INFO] [stdout] 72 | pub struct Goruut
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 | policy: P,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 81 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 82 | dict_getter: D,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 83 | executable: Option
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 34 | dict: D,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 35 | api: A,
[INFO] [stdout] 36 | folder: F,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `policy`, `ipa`, `dict_getter`, `api`, and `maxwrds` are never read
[INFO] [stdout] --> src/usecases/phonemize.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 31 | pub struct PhonemizeUsecaseImpl
[INFO] [stdout] | -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 | policy: P,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 40 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 41 | dict_getter: D,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 42 | api: A,
[INFO] [stdout] | ^^^
[INFO] [stdout] 43 | maxwrds: usize,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `policy`, `ipa`, `dict_getter`, `executable`, `platform`, and `version` are never read
[INFO] [stdout] --> src/usecases/rustruut.rs:80:5
[INFO] [stdout] |
[INFO] [stdout] 72 | pub struct Goruut
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 | policy: P,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 81 | ipa: I,
[INFO] [stdout] | ^^^
[INFO] [stdout] 82 | dict_getter: D,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 83 | executable: Option
[INFO] [stderr] | ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 33 | ipa: I,
[INFO] [stderr] | ^^^
[INFO] [stderr] 34 | dict: D,
[INFO] [stderr] | ^^^^
[INFO] [stderr] 35 | api: A,
[INFO] [stderr] 36 | folder: F,
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: fields `policy`, `ipa`, `dict_getter`, `api`, and `maxwrds` are never read
[INFO] [stderr] --> src/usecases/phonemize.rs:39:5
[INFO] [stderr] |
[INFO] [stderr] 31 | pub struct PhonemizeUsecaseImpl
[INFO] [stderr] | -------------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 39 | policy: P,
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] 40 | ipa: I,
[INFO] [stderr] | ^^^
[INFO] [stderr] 41 | dict_getter: D,
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr] 42 | api: A,
[INFO] [stderr] | ^^^
[INFO] [stderr] 43 | maxwrds: usize,
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: fields `policy`, `ipa`, `dict_getter`, `executable`, `platform`, and `version` are never read
[INFO] [stderr] --> src/usecases/rustruut.rs:80:5
[INFO] [stderr] |
[INFO] [stderr] 72 | pub struct Goruut
[INFO] [stderr] | ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 80 | policy: P,
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] 81 | ipa: I,
[INFO] [stderr] | ^^^
[INFO] [stderr] 82 | dict_getter: D,
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr] 83 | executable: Option