[INFO] fetching crate prettytable 0.10.0... [INFO] testing prettytable-0.10.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate prettytable 0.10.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate prettytable 0.10.0 [INFO] finished tweaking crates.io crate prettytable 0.10.0 [INFO] tweaked toml for crates.io crate prettytable 0.10.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prettytable 0.10.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prettytable 0.10.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on binary `main` which is deprecated [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustix v0.36.6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c403dc54ecf06bbb251ba95cecf621607db6080a35b1cd1b3ad12a30f6c68d [INFO] running `Command { std: "docker" "start" "-a" "82c403dc54ecf06bbb251ba95cecf621607db6080a35b1cd1b3ad12a30f6c68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c403dc54ecf06bbb251ba95cecf621607db6080a35b1cd1b3ad12a30f6c68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c403dc54ecf06bbb251ba95cecf621607db6080a35b1cd1b3ad12a30f6c68d", kill_on_drop: false }` [INFO] [stdout] 82c403dc54ecf06bbb251ba95cecf621607db6080a35b1cd1b3ad12a30f6c68d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f8b6b09ef0e3e4be6e0eb2d2a17c5264dc8d74e456dcbeb7331a0bab7c28793 [INFO] running `Command { std: "docker" "start" "-a" "4f8b6b09ef0e3e4be6e0eb2d2a17c5264dc8d74e456dcbeb7331a0bab7c28793", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on binary `main` which is deprecated [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling prettytable v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn row_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn row_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 356 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn row_iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 361 | pub fn row_iter_mut(&mut self) -> IterMut<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/row.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/row.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn iter_mut(&mut self) -> IterMut<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/csv.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | for title in self.titles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 20 - for title in self.titles { [INFO] [stdout] 20 + while let Some(title) = self.titles { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 20 - for title in self.titles { [INFO] [stdout] 20 + if let Some(title) = self.titles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.10s [INFO] running `Command { std: "docker" "inspect" "4f8b6b09ef0e3e4be6e0eb2d2a17c5264dc8d74e456dcbeb7331a0bab7c28793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8b6b09ef0e3e4be6e0eb2d2a17c5264dc8d74e456dcbeb7331a0bab7c28793", kill_on_drop: false }` [INFO] [stdout] 4f8b6b09ef0e3e4be6e0eb2d2a17c5264dc8d74e456dcbeb7331a0bab7c28793 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 88dc6654760b78eb4e9b5bf7394ab0802d24defd38962e26d200f7fdf32d1474 [INFO] running `Command { std: "docker" "start" "-a" "88dc6654760b78eb4e9b5bf7394ab0802d24defd38962e26d200f7fdf32d1474", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on binary `main` which is deprecated [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn row_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn row_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 356 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn row_iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 361 | pub fn row_iter_mut(&mut self) -> IterMut<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/row.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/row.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn iter_mut(&mut self) -> IterMut<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prettytable v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/csv.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | for title in self.titles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 20 - for title in self.titles { [INFO] [stdout] 20 + while let Some(title) = self.titles { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 20 - for title in self.titles { [INFO] [stdout] 20 + if let Some(title) = self.titles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn row_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn row_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 356 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn row_iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 361 | pub fn row_iter_mut(&mut self) -> IterMut<'_, Row> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/row.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/row.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn iter_mut(&mut self) -> IterMut<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/csv.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | for title in self.titles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 20 - for title in self.titles { [INFO] [stdout] 20 + while let Some(title) = self.titles { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 20 - for title in self.titles { [INFO] [stdout] 20 + if let Some(title) = self.titles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "88dc6654760b78eb4e9b5bf7394ab0802d24defd38962e26d200f7fdf32d1474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88dc6654760b78eb4e9b5bf7394ab0802d24defd38962e26d200f7fdf32d1474", kill_on_drop: false }` [INFO] [stdout] 88dc6654760b78eb4e9b5bf7394ab0802d24defd38962e26d200f7fdf32d1474 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e161a9df9857be9f5da12231b04bae912dd9b4ea615827291be95c573ce7449b [INFO] running `Command { std: "docker" "start" "-a" "e161a9df9857be9f5da12231b04bae912dd9b4ea615827291be95c573ce7449b", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on binary `main` which is deprecated [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:133:24 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 133 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:138:21 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn row_iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 138 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:346:24 [INFO] [stderr] | [INFO] [stderr] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 346 | pub fn column_iter(&self, column: usize) -> ColumnIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:351:28 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut { [INFO] [stderr] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 351 | pub fn column_iter_mut(&mut self, column: usize) -> ColumnIterMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:356:21 [INFO] [stderr] | [INFO] [stderr] 356 | pub fn row_iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 356 | pub fn row_iter(&self) -> Iter<'_, Row> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:361:25 [INFO] [stderr] | [INFO] [stderr] 361 | pub fn row_iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 361 | pub fn row_iter_mut(&mut self) -> IterMut<'_, Row> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/row.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn iter(&self) -> Iter<'_, Cell> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/row.rs:139:21 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn iter_mut(&mut self) -> IterMut<'_, Cell> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/csv.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | for title in self.titles { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 20 - for title in self.titles { [INFO] [stderr] 20 + while let Some(title) = self.titles { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 20 - for title in self.titles { [INFO] [stderr] 20 + if let Some(title) = self.titles { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `prettytable` (lib) generated 9 warnings (run `cargo fix --lib -p prettytable` to apply 8 suggestions) [INFO] [stderr] warning: `prettytable` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/prettytable-7b86405fa62bf7ff) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test cell::tests::align_center ... ok [INFO] [stdout] test cell::tests::align_left ... ok [INFO] [stdout] test cell::tests::default_empty_cell ... ok [INFO] [stdout] test cell::tests::get_content ... ok [INFO] [stdout] test cell::tests::print_ascii ... ok [INFO] [stdout] test cell::tests::print_ascii_html ... ok [INFO] [stdout] test cell::tests::print_html_special_chars ... ok [INFO] [stdout] test cell::tests::print_cjk ... ok [INFO] [stdout] test cell::tests::align_right ... ok [INFO] [stdout] test cell::tests::print_unicode ... ok [INFO] [stdout] test cell::tests::reset_style ... ok [INFO] [stdout] test cell::tests::style_spec ... ok [INFO] [stdout] test csv::tests::to ... ok [INFO] [stdout] test csv::tests::from ... ok [INFO] [stdout] test csv::tests::extend_table ... ok [INFO] [stdout] test row::tests::extend_row ... ok [INFO] [stdout] test csv::tests::trans ... ok [INFO] [stdout] test row::tests::remove_cell ... ok [INFO] [stdout] test row::tests::row_default_empty ... ok [INFO] [stdout] test row::tests::get_add_set_cell ... ok [INFO] [stdout] test row::tests::insert_cell ... ok [INFO] [stdout] test tests::add_empty_row ... ok [INFO] [stdout] test tests::get_row ... ok [INFO] [stdout] test tests::insert_row ... ok [INFO] [stdout] test tests::index ... ok [INFO] [stdout] test tests::indent ... ok [INFO] [stdout] test tests::clean ... ok [INFO] [stdout] test tests::set_element ... ok [INFO] [stdout] test tests::remove_row ... ok [INFO] [stdout] test tests::no_linesep ... ok [INFO] [stdout] test tests::table_html ... ok [INFO] [stdout] test tests::table_html_colors ... ok [INFO] [stdout] test tests::padding ... ok [INFO] [stdout] test tests::slices ... ok [INFO] [stdout] test tests::table_size ... ok [INFO] [stdout] test tests::test_empty_table_with_title ... ok [INFO] [stdout] test tests::no_colsep ... ok [INFO] [stdout] test tests::test_panic ... ok [INFO] [stdout] test tests::test_horizontal_span ... ok [INFO] [stdout] test tests::table ... ok [INFO] [stdout] test tests::test_readme_format_with_title ... ok [INFO] [stdout] test utils::tests::skip_right_fill ... ok [INFO] [stdout] test utils::tests::utf8_error ... ok [INFO] [stdout] test utils::tests::string_writer ... ok [INFO] [stdout] test tests::test_unicode_separators ... ok [INFO] [stdout] test tests::test_readme_format ... ok [INFO] [stdout] test utils::tests::fill_align ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/main-3e38a67b559e38f3) [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" "e161a9df9857be9f5da12231b04bae912dd9b4ea615827291be95c573ce7449b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e161a9df9857be9f5da12231b04bae912dd9b4ea615827291be95c573ce7449b", kill_on_drop: false }` [INFO] [stdout] e161a9df9857be9f5da12231b04bae912dd9b4ea615827291be95c573ce7449b