[INFO] fetching crate yatima-rustyline 0.2.0... [INFO] testing yatima-rustyline-0.2.0 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] extracting crate yatima-rustyline 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate yatima-rustyline 0.2.0 [INFO] finished tweaking crates.io crate yatima-rustyline 0.2.0 [INFO] tweaked toml for crates.io crate yatima-rustyline 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yatima-rustyline 0.2.0 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yatima-rustyline 0.2.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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bd78429c23c0e6610c6f66f04d2f7b7691ef3f31d99bf2e52e33d3206068281 [INFO] running `Command { std: "docker" "start" "-a" "6bd78429c23c0e6610c6f66f04d2f7b7691ef3f31d99bf2e52e33d3206068281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bd78429c23c0e6610c6f66f04d2f7b7691ef3f31d99bf2e52e33d3206068281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd78429c23c0e6610c6f66f04d2f7b7691ef3f31d99bf2e52e33d3206068281", kill_on_drop: false }` [INFO] [stdout] 6bd78429c23c0e6610c6f66f04d2f7b7691ef3f31d99bf2e52e33d3206068281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d3206a47889de15921b744e65b28f0edea9e89b634a3728bc3d4d9e5adb45bde [INFO] running `Command { std: "docker" "start" "-a" "d3206a47889de15921b744e65b28f0edea9e89b634a3728bc3d4d9e5adb45bde", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.0.46 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.6 [INFO] [stderr] Compiling yatima-rustyline v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completion.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow { [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] 402 | fn normalize(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------ the lifetime gets resolved as `'_` [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] 443 | pub fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 471 | ) -> Option { [INFO] [stdout] | ------------ the lifetime gets resolved as `'_` [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] 471 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 508 | ) -> Option [INFO] [stdout] | ------------ the lifetime gets resolved as `'_` [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] 508 | ) -> Option> [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/line_buffer.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | for cl in &self.cl { [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] 242 - for cl in &self.cl { [INFO] [stdout] 242 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for cl in &self.cl { [INFO] [stdout] 242 + if let Some(cl) = &self.cl { [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/line_buffer.rs:845:19 [INFO] [stdout] | [INFO] [stdout] 845 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 845 - for cl in &self.cl { [INFO] [stdout] 845 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 845 - for cl in &self.cl { [INFO] [stdout] 845 + if let Some(cl) = &self.cl { [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/line_buffer.rs:863:19 [INFO] [stdout] | [INFO] [stdout] 863 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 863 - for cl in &self.cl { [INFO] [stdout] 863 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 863 - for cl in &self.cl { [INFO] [stdout] 863 + if let Some(cl) = &self.cl { [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/line_buffer.rs:885:19 [INFO] [stdout] | [INFO] [stdout] 885 | for dl in &self.dl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 885 - for dl in &self.dl { [INFO] [stdout] 885 + while let Some(dl) = &self.dl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 885 - for dl in &self.dl { [INFO] [stdout] 885 + if let Some(dl) = &self.dl { [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/line_buffer.rs:891:19 [INFO] [stdout] | [INFO] [stdout] 891 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 891 - for cl in &self.cl { [INFO] [stdout] 891 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 891 - for cl in &self.cl { [INFO] [stdout] 891 + if let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "d3206a47889de15921b744e65b28f0edea9e89b634a3728bc3d4d9e5adb45bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3206a47889de15921b744e65b28f0edea9e89b634a3728bc3d4d9e5adb45bde", kill_on_drop: false }` [INFO] [stdout] d3206a47889de15921b744e65b28f0edea9e89b634a3728bc3d4d9e5adb45bde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a098438fbea9c4a8f1f1a8d2f4befa3968dbfa2d6ddff4d2e8a873d6e9f815b8 [INFO] running `Command { std: "docker" "start" "-a" "a098438fbea9c4a8f1f1a8d2f4befa3968dbfa2d6ddff4d2e8a873d6e9f815b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completion.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow { [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] 402 | fn normalize(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------ the lifetime gets resolved as `'_` [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] 443 | pub fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 471 | ) -> Option { [INFO] [stdout] | ------------ the lifetime gets resolved as `'_` [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] 471 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 508 | ) -> Option [INFO] [stdout] | ------------ the lifetime gets resolved as `'_` [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] 508 | ) -> Option> [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/line_buffer.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | for cl in &self.cl { [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] 242 - for cl in &self.cl { [INFO] [stdout] 242 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for cl in &self.cl { [INFO] [stdout] 242 + if let Some(cl) = &self.cl { [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/line_buffer.rs:845:19 [INFO] [stdout] | [INFO] [stdout] 845 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 845 - for cl in &self.cl { [INFO] [stdout] 845 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 845 - for cl in &self.cl { [INFO] [stdout] 845 + if let Some(cl) = &self.cl { [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/line_buffer.rs:863:19 [INFO] [stdout] | [INFO] [stdout] 863 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 863 - for cl in &self.cl { [INFO] [stdout] 863 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 863 - for cl in &self.cl { [INFO] [stdout] 863 + if let Some(cl) = &self.cl { [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/line_buffer.rs:885:19 [INFO] [stdout] | [INFO] [stdout] 885 | for dl in &self.dl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 885 - for dl in &self.dl { [INFO] [stdout] 885 + while let Some(dl) = &self.dl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 885 - for dl in &self.dl { [INFO] [stdout] 885 + if let Some(dl) = &self.dl { [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/line_buffer.rs:891:19 [INFO] [stdout] | [INFO] [stdout] 891 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 891 - for cl in &self.cl { [INFO] [stdout] 891 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 891 - for cl in &self.cl { [INFO] [stdout] 891 + if let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling yatima-rustyline-derive v0.1.0 [INFO] [stderr] Compiling yatima-rustyline v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc2lKMHp/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libyatima_rustyline-672f1b3aa3790726.rlib,libutf8parse-e2d7ad32b02aac46.rlib,libnix-75302df1687d95d8.rlib,libfd_lock-a2a895581665e8fa.rlib,librustix-085a3f00caffd818.rlib,libio_lifetimes-fb63e66bab72b82d.rlib,libbitflags-e274cd04b58a060d.rlib,liblinux_raw_sys-ae77eb2b03e6ac9e.rlib,libunicode_width-2222409b5ba3ddc6.rlib,libunicode_segmentation-3334e91806fdcd11.rlib,liblog-85ece36e36b085b5.rlib,libdirs_next-4433c609087a3e39.rlib,libdirs_sys_next-90577151f23fb957.rlib,libmemchr-d88797af6a5880b4.rlib,libradix_trie-15e28b0dc20e800e.rlib,libnibble_vec-adbc788a5c35120b.rlib,libsmallvec-cccb44d9dce4cf27.rlib,libendian_type-a288539e743c60b9.rlib,librand-b6c50ef5ead8ea3e.rlib,librand_chacha-6a6486a5988e3481.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-59f9d8a0d765bd17.rlib,libgetrandom-2357af3aac29a2f9.rlib,liblibc-3efcfdb7cbc4aa8d.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc2lKMHp/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/external_print-ad02e674c13982ed" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-2357af3aac29a2f9.rlib(getrandom-2357af3aac29a2f9.getrandom.5eb2b18c46bd1cd5-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h5ee1b5f619826304E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yatima-rustyline` (example "external_print") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `self::unix::*` [INFO] [stdout] --> src/tty/mod.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub use self::unix::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completion.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow { [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] 402 | fn normalize(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------ the lifetime gets resolved as `'_` [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] 443 | pub fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 471 | ) -> Option { [INFO] [stdout] | ------------ the lifetime gets resolved as `'_` [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] 471 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/history.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 508 | ) -> Option [INFO] [stdout] | ------------ the lifetime gets resolved as `'_` [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] 508 | ) -> Option> [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/line_buffer.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | for cl in &self.cl { [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] 242 - for cl in &self.cl { [INFO] [stdout] 242 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for cl in &self.cl { [INFO] [stdout] 242 + if let Some(cl) = &self.cl { [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/line_buffer.rs:845:19 [INFO] [stdout] | [INFO] [stdout] 845 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 845 - for cl in &self.cl { [INFO] [stdout] 845 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 845 - for cl in &self.cl { [INFO] [stdout] 845 + if let Some(cl) = &self.cl { [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/line_buffer.rs:863:19 [INFO] [stdout] | [INFO] [stdout] 863 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 863 - for cl in &self.cl { [INFO] [stdout] 863 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 863 - for cl in &self.cl { [INFO] [stdout] 863 + if let Some(cl) = &self.cl { [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/line_buffer.rs:885:19 [INFO] [stdout] | [INFO] [stdout] 885 | for dl in &self.dl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 885 - for dl in &self.dl { [INFO] [stdout] 885 + while let Some(dl) = &self.dl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 885 - for dl in &self.dl { [INFO] [stdout] 885 + if let Some(dl) = &self.dl { [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/line_buffer.rs:891:19 [INFO] [stdout] | [INFO] [stdout] 891 | for cl in &self.cl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 891 - for cl in &self.cl { [INFO] [stdout] 891 + while let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 891 - for cl in &self.cl { [INFO] [stdout] 891 + if let Some(cl) = &self.cl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a098438fbea9c4a8f1f1a8d2f4befa3968dbfa2d6ddff4d2e8a873d6e9f815b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a098438fbea9c4a8f1f1a8d2f4befa3968dbfa2d6ddff4d2e8a873d6e9f815b8", kill_on_drop: false }` [INFO] [stdout] a098438fbea9c4a8f1f1a8d2f4befa3968dbfa2d6ddff4d2e8a873d6e9f815b8