[INFO] fetching crate yatima-rustyline 0.2.0... [INFO] checking yatima-rustyline-0.2.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate yatima-rustyline 0.2.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yatima-rustyline 0.2.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a928a97346b6f869288941678bf3e218e4ee1fe3c1335f5dec82d5094df445c0 [INFO] running `Command { std: "docker" "start" "-a" "a928a97346b6f869288941678bf3e218e4ee1fe3c1335f5dec82d5094df445c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a928a97346b6f869288941678bf3e218e4ee1fe3c1335f5dec82d5094df445c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a928a97346b6f869288941678bf3e218e4ee1fe3c1335f5dec82d5094df445c0", kill_on_drop: false }` [INFO] [stdout] a928a97346b6f869288941678bf3e218e4ee1fe3c1335f5dec82d5094df445c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29208669f60d848365c47c953402506b2659d484866ab68786b012b9833b4373 [INFO] running `Command { std: "docker" "start" "-a" "29208669f60d848365c47c953402506b2659d484866ab68786b012b9833b4373", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fd-lock v3.0.6 [INFO] [stderr] Compiling yatima-rustyline-derive v0.1.0 [INFO] [stderr] Checking yatima-rustyline v0.2.0 (/opt/rustwide/workdir) [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/completion.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 471 | ) -> Option { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 508 | ) -> Option [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/completion.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 402 | fn normalize(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 471 | ) -> Option { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 508 | ) -> Option [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 6.59s [INFO] running `Command { std: "docker" "inspect" "29208669f60d848365c47c953402506b2659d484866ab68786b012b9833b4373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29208669f60d848365c47c953402506b2659d484866ab68786b012b9833b4373", kill_on_drop: false }` [INFO] [stdout] 29208669f60d848365c47c953402506b2659d484866ab68786b012b9833b4373