[INFO] cloning repository https://github.com/jmmut/hello_repl_completion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmmut/hello_repl_completion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmut%2Fhello_repl_completion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmut%2Fhello_repl_completion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8846120c12c776889fcfb07f265f7ab5643bad4 [INFO] testing jmmut/hello_repl_completion against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmut%2Fhello_repl_completion" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmmut/hello_repl_completion [INFO] finished tweaking git repo https://github.com/jmmut/hello_repl_completion [INFO] tweaked toml for git repo https://github.com/jmmut/hello_repl_completion written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmmut/hello_repl_completion on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmmut/hello_repl_completion already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08 [INFO] running `Command { std: "docker" "start" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling rustversion v1.0.13 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling nu-ansi-term v0.47.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling fd-lock v3.0.12 [INFO] [stderr] Compiling rustyline v11.0.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling reedline v0.21.0 [INFO] [stderr] Compiling hello_repl_completion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DefaultCompleter` and `StyledText` [INFO] [stdout] --> src/main.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | ...u, DefaultCompleter, Emacs, KeyCode, KeyModifiers, Reedline, ReedlineEvent, ReedlineMenu, Signal, DefaultPrompt, Completer, Suggestion, Span, StyledText, D... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/bin/rustyline.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn update(&self, line: &mut LineBuffer, start: usize, elected: &str, cl: &mut Changeset) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted` [INFO] [stdout] --> src/bin/rustyline.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let deleted = line.delete_prev_word::(Word::Big, RepeatCount::default(), &mut NoListener {}); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 35.07s [INFO] running `Command { std: "docker" "inspect" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling hello_repl_completion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DefaultCompleter` and `StyledText` [INFO] [stdout] --> src/main.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | ...u, DefaultCompleter, Emacs, KeyCode, KeyModifiers, Reedline, ReedlineEvent, ReedlineMenu, Signal, DefaultPrompt, Completer, Suggestion, Span, StyledText, D... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/bin/rustyline.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn update(&self, line: &mut LineBuffer, start: usize, elected: &str, cl: &mut Changeset) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted` [INFO] [stdout] --> src/bin/rustyline.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let deleted = line.delete_prev_word::(Word::Big, RepeatCount::default(), &mut NoListener {}); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/bin/rustyline.rs:55:45 [INFO] [stderr] | [INFO] [stderr] 55 | fn update(&self, line: &mut LineBuffer, start: usize, elected: &str, cl: &mut Changeset) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deleted` [INFO] [stderr] --> src/bin/rustyline.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | let deleted = line.delete_prev_word::(Word::Big, RepeatCount::default(), &mut NoListener {}); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DefaultCompleter` and `StyledText` [INFO] [stderr] --> src/main.rs:3:57 [INFO] [stderr] | [INFO] [stderr] 3 | ...u, DefaultCompleter, Emacs, KeyCode, KeyModifiers, Reedline, ReedlineEvent, ReedlineMenu, Signal, DefaultPrompt, Completer, Suggestion, Span, StyledText, D... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hello_repl_completion` (bin "rustyline" test) generated 2 warnings (run `cargo fix --bin "rustyline" -p hello_repl_completion --tests` to apply 2 suggestions) [INFO] [stderr] warning: `hello_repl_completion` (bin "hello_repl_completion" test) generated 1 warning (run `cargo fix --bin "hello_repl_completion" -p hello_repl_completion --tests` to apply 1 suggestion) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/hello_repl_completion-1029d7a041a9ae76) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_candidates_to_suggestions ... ok [INFO] [stdout] test tests::test_get_words_empty ... ok [INFO] [stdout] test tests::test_get_words_first_word ... ok [INFO] [stdout] test tests::test_get_words_second_word ... ok [INFO] [stdout] test tests::test_get_words_second_word_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/rustyline.rs (/opt/rustwide/target/release/deps/rustyline-3c1d0bad11e4c3e8) [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" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08", kill_on_drop: false }` [INFO] [stdout] 63a8a6f89bb4722609799a336702ffc0f20a43604950342e6ea5462ae9d70b08