[INFO] cloning repository https://github.com/loziuu/editorus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loziuu/editorus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floziuu%2Feditorus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floziuu%2Feditorus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 985506d318893ed168e268902e3b722ba09cabc5 [INFO] building loziuu/editorus against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floziuu%2Feditorus" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loziuu/editorus on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loziuu/editorus [INFO] finished tweaking git repo https://github.com/loziuu/editorus [INFO] tweaked toml for git repo https://github.com/loziuu/editorus written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/loziuu/editorus 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cacba5ce03aab61996c0ec27936d60388413248665b81c6b91c408262bf7b0b6 [INFO] running `Command { std: "docker" "start" "-a" "cacba5ce03aab61996c0ec27936d60388413248665b81c6b91c408262bf7b0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cacba5ce03aab61996c0ec27936d60388413248665b81c6b91c408262bf7b0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cacba5ce03aab61996c0ec27936d60388413248665b81c6b91c408262bf7b0b6", kill_on_drop: false }` [INFO] [stdout] cacba5ce03aab61996c0ec27936d60388413248665b81c6b91c408262bf7b0b6 [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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22db5746f96da775a85563fa6f7dfed2ffad60f8ee15c5131fcff4d0fecce116 [INFO] running `Command { std: "docker" "start" "-a" "22db5746f96da775a85563fa6f7dfed2ffad60f8ee15c5131fcff4d0fecce116", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling editorus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/writer/escapes.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufWriter, Stdout, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min_x` is never used [INFO] [stdout] --> src/editor/cursor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ECursor { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn min_x(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `weight_offset` is never used [INFO] [stdout] --> src/rope/func.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn weight_offset() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Writeable` is never used [INFO] [stdout] --> src/writer/writeable.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) trait Writeable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rope/rope.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn leaf_iter(&self) -> LeafIterator { [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] 26 | pub fn leaf_iter(&self) -> LeafIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.86s [INFO] running `Command { std: "docker" "inspect" "22db5746f96da775a85563fa6f7dfed2ffad60f8ee15c5131fcff4d0fecce116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22db5746f96da775a85563fa6f7dfed2ffad60f8ee15c5131fcff4d0fecce116", kill_on_drop: false }` [INFO] [stdout] 22db5746f96da775a85563fa6f7dfed2ffad60f8ee15c5131fcff4d0fecce116 [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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 861a52887efc6430f8e4d3ba9feab255c7eaa814a9fe487983483195f7fafb50 [INFO] running `Command { std: "docker" "start" "-a" "861a52887efc6430f8e4d3ba9feab255c7eaa814a9fe487983483195f7fafb50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/writer/escapes.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufWriter, Stdout, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min_x` is never used [INFO] [stdout] --> src/editor/cursor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ECursor { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn min_x(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `weight_offset` is never used [INFO] [stdout] --> src/rope/func.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn weight_offset() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Writeable` is never used [INFO] [stdout] --> src/writer/writeable.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) trait Writeable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rope/rope.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn leaf_iter(&self) -> LeafIterator { [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] 26 | pub fn leaf_iter(&self) -> LeafIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling editorus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/writer/escapes.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufWriter, Stdout, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rope/rope.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | for i in 1..=times { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min_x` is never used [INFO] [stdout] --> src/editor/cursor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ECursor { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn min_x(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `weight_offset` is never used [INFO] [stdout] --> src/rope/func.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn weight_offset() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Writeable` is never used [INFO] [stdout] --> src/writer/writeable.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) trait Writeable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rope/rope.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn leaf_iter(&self) -> LeafIterator { [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] 26 | pub fn leaf_iter(&self) -> LeafIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.71s [INFO] running `Command { std: "docker" "inspect" "861a52887efc6430f8e4d3ba9feab255c7eaa814a9fe487983483195f7fafb50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861a52887efc6430f8e4d3ba9feab255c7eaa814a9fe487983483195f7fafb50", kill_on_drop: false }` [INFO] [stdout] 861a52887efc6430f8e4d3ba9feab255c7eaa814a9fe487983483195f7fafb50