[INFO] cloning repository https://github.com/lbrndnr/poly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lbrndnr/poly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbrndnr%2Fpoly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbrndnr%2Fpoly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d13f85aac336642c9f944cca5dd6fdd386dd227 [INFO] testing lbrndnr/poly against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbrndnr%2Fpoly" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lbrndnr/poly on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lbrndnr/poly [INFO] finished tweaking git repo https://github.com/lbrndnr/poly [INFO] tweaked toml for git repo https://github.com/lbrndnr/poly written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lbrndnr/poly 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded async-lock v2.7.0 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded rustls-webpki v0.101.2 [INFO] [stderr] Downloaded deepl v0.4.2 [INFO] [stderr] Downloaded octocrab v0.29.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f6dcc4efc68576af1a7343ca8a831bfd30f6593a374bb4945f58afb1befa4b0 [INFO] running `Command { std: "docker" "start" "-a" "1f6dcc4efc68576af1a7343ca8a831bfd30f6593a374bb4945f58afb1befa4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f6dcc4efc68576af1a7343ca8a831bfd30f6593a374bb4945f58afb1befa4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6dcc4efc68576af1a7343ca8a831bfd30f6593a374bb4945f58afb1befa4b0", kill_on_drop: false }` [INFO] [stdout] 1f6dcc4efc68576af1a7343ca8a831bfd30f6593a374bb4945f58afb1befa4b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bca8e0b83293917187a90b7377fc088cab1a76ba4f62a70b613bcccaf13f5936 [INFO] running `Command { std: "docker" "start" "-a" "bca8e0b83293917187a90b7377fc088cab1a76ba4f62a70b613bcccaf13f5936", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.11 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling deranged v0.3.7 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling time v0.3.25 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling rustls-webpki v0.101.2 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling tower-http v0.4.3 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling octocrab v0.29.1 [INFO] [stderr] Compiling deepl v0.4.2 [INFO] [stderr] Compiling poly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | for (id, value) in loc.translations { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let mut code = res.next(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/strings.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn write_to_file(path: impl AsRef) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj_files_iter` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn proj_files_iter(path: &str, exclude: Option>) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locale` is never read [INFO] [stdout] --> src/strings.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Localization { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub locale: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Localization` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comment` and `source` are never read [INFO] [stdout] --> src/strings.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Translation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | pub comment: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Translation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Source` and `Target` are never constructed [INFO] [stdout] --> src/strings.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum ParsingCursor { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Target [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_to_file` is never used [INFO] [stdout] --> src/strings.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Localization { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn write_to_file(path: impl AsRef) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate` and `translate_in_dir` are never used [INFO] [stdout] --> src/proj.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl <'a> Project<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn translate(&self, word: &str, target_locale: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn translate_in_dir>(&self, word: &str, dir: P, inversed: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "bca8e0b83293917187a90b7377fc088cab1a76ba4f62a70b613bcccaf13f5936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca8e0b83293917187a90b7377fc088cab1a76ba4f62a70b613bcccaf13f5936", kill_on_drop: false }` [INFO] [stdout] bca8e0b83293917187a90b7377fc088cab1a76ba4f62a70b613bcccaf13f5936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4070bf9b55e323f57f2f4cfe5efc680299e47506a7d45d1b7a061e1f689efaf3 [INFO] running `Command { std: "docker" "start" "-a" "4070bf9b55e323f57f2f4cfe5efc680299e47506a7d45d1b7a061e1f689efaf3", kill_on_drop: false }` [INFO] [stderr] Compiling poly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | for (id, value) in loc.translations { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let mut code = res.next(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/strings.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn write_to_file(path: impl AsRef) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj_files_iter` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn proj_files_iter(path: &str, exclude: Option>) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locale` is never read [INFO] [stdout] --> src/strings.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Localization { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub locale: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Localization` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comment` and `source` are never read [INFO] [stdout] --> src/strings.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Translation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | pub comment: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Translation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Source` and `Target` are never constructed [INFO] [stdout] --> src/strings.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum ParsingCursor { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Target [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_to_file` is never used [INFO] [stdout] --> src/strings.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Localization { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn write_to_file(path: impl AsRef) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate` and `translate_in_dir` are never used [INFO] [stdout] --> src/proj.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl <'a> Project<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn translate(&self, word: &str, target_locale: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn translate_in_dir>(&self, word: &str, dir: P, inversed: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "4070bf9b55e323f57f2f4cfe5efc680299e47506a7d45d1b7a061e1f689efaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4070bf9b55e323f57f2f4cfe5efc680299e47506a7d45d1b7a061e1f689efaf3", kill_on_drop: false }` [INFO] [stdout] 4070bf9b55e323f57f2f4cfe5efc680299e47506a7d45d1b7a061e1f689efaf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 93cb9a4f8c7e76bf4d53e9f6b30874c036e79713fc7353f870450e19458d8c84 [INFO] running `Command { std: "docker" "start" "-a" "93cb9a4f8c7e76bf4d53e9f6b30874c036e79713fc7353f870450e19458d8c84", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/main.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 137 | for (id, value) in loc.translations { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:150:17 [INFO] [stderr] | [INFO] [stderr] 150 | let mut code = res.next(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/strings.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn write_to_file(path: impl AsRef) -> Result<(), Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: function `proj_files_iter` is never used [INFO] [stderr] --> src/main.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn proj_files_iter(path: &str, exclude: Option>) -> impl Iterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `locale` is never read [INFO] [stderr] --> src/strings.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Localization { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 10 | pub locale: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Localization` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `comment` and `source` are never read [INFO] [stderr] --> src/strings.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Translation { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 16 | pub comment: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | pub source: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Translation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Source` and `Target` are never constructed [INFO] [stderr] --> src/strings.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 22 | enum ParsingCursor { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 25 | Source, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | Target [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write_to_file` is never used [INFO] [stderr] --> src/strings.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Localization { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn write_to_file(path: impl AsRef) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `translate` and `translate_in_dir` are never used [INFO] [stderr] --> src/proj.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl <'a> Project<'a> { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn translate(&self, word: &str, target_locale: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | fn translate_in_dir>(&self, word: &str, dir: P, inversed: bool) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `poly` (bin "poly" test) generated 9 warnings (run `cargo fix --bin "poly" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/poly-ce90935463ab23bc) [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "93cb9a4f8c7e76bf4d53e9f6b30874c036e79713fc7353f870450e19458d8c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93cb9a4f8c7e76bf4d53e9f6b30874c036e79713fc7353f870450e19458d8c84", kill_on_drop: false }` [INFO] [stdout] 93cb9a4f8c7e76bf4d53e9f6b30874c036e79713fc7353f870450e19458d8c84