[INFO] fetching crate modit 0.1.5... [INFO] building modit-0.1.5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate modit 0.1.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate modit 0.1.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate modit 0.1.5 [INFO] tweaked toml for crates.io crate modit 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modit 0.1.5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate modit 0.1.5 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v2.0.3 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5668d8cd584f7f0aca00cc3754497102ae2c5c3c9ee16ab4d49485392f08c32 [INFO] running `Command { std: "docker" "start" "-a" "c5668d8cd584f7f0aca00cc3754497102ae2c5c3c9ee16ab4d49485392f08c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5668d8cd584f7f0aca00cc3754497102ae2c5c3c9ee16ab4d49485392f08c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5668d8cd584f7f0aca00cc3754497102ae2c5c3c9ee16ab4d49485392f08c32", kill_on_drop: false }` [INFO] [stdout] c5668d8cd584f7f0aca00cc3754497102ae2c5c3c9ee16ab4d49485392f08c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 506e153c5855e0858aeb58bb034247c7800ec324b510131d9e6c2ff6eaf52adf [INFO] running `Command { std: "docker" "start" "-a" "506e153c5855e0858aeb58bb034247c7800ec324b510131d9e6c2ff6eaf52adf", kill_on_drop: false }` [INFO] [stderr] Compiling modit v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/vi.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | Key::Ctrl(c) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 667 | Key::Ctrl(_c) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VI_DEFAULT_REGISTER` [INFO] [stdout] | [INFO] [stdout] 667 - Key::Ctrl(c) => { [INFO] [stdout] 667 + Key::Ctrl(vi::VI_DEFAULT_REGISTER) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/vi.rs:760:27 [INFO] [stdout] | [INFO] [stdout] 760 | Key::Ctrl(c) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 760 | Key::Ctrl(_c) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VI_DEFAULT_REGISTER` [INFO] [stdout] | [INFO] [stdout] 760 - Key::Ctrl(c) => { [INFO] [stdout] 760 + Key::Ctrl(vi::VI_DEFAULT_REGISTER) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "506e153c5855e0858aeb58bb034247c7800ec324b510131d9e6c2ff6eaf52adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506e153c5855e0858aeb58bb034247c7800ec324b510131d9e6c2ff6eaf52adf", kill_on_drop: false }` [INFO] [stdout] 506e153c5855e0858aeb58bb034247c7800ec324b510131d9e6c2ff6eaf52adf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fff39627ca65b4081222e08c33e755f045b1639b12b3de6b5d5be61e3b6b408b [INFO] running `Command { std: "docker" "start" "-a" "fff39627ca65b4081222e08c33e755f045b1639b12b3de6b5d5be61e3b6b408b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling modit v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/vi.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | Key::Ctrl(c) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 667 | Key::Ctrl(_c) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VI_DEFAULT_REGISTER` [INFO] [stdout] | [INFO] [stdout] 667 - Key::Ctrl(c) => { [INFO] [stdout] 667 + Key::Ctrl(vi::VI_DEFAULT_REGISTER) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/vi.rs:760:27 [INFO] [stdout] | [INFO] [stdout] 760 | Key::Ctrl(c) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 760 | Key::Ctrl(_c) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VI_DEFAULT_REGISTER` [INFO] [stdout] | [INFO] [stdout] 760 - Key::Ctrl(c) => { [INFO] [stdout] 760 + Key::Ctrl(vi::VI_DEFAULT_REGISTER) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling termion v2.0.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stdout] error[E0432]: unresolved imports `modit::BACKSPACE`, `modit::DELETE`, `modit::ESCAPE` [INFO] [stdout] --> examples/parse.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use modit::{Event, Parser, ViParser, BACKSPACE, DELETE, ESCAPE}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^ no `ESCAPE` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `DELETE` in the root [INFO] [stdout] | no `BACKSPACE` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> examples/parse.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read, Write}; [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: `n` [INFO] [stdout] --> examples/termion.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | TermionKey::F(n) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/termion.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | TermionKey::Alt(c) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/parse.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | parser.parse(c, selection, |event| events.push(event)); [INFO] [stdout] | ----- ^ expected `Key`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn parse(&mut self, key: Key, selection: bool, callback: F); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: try wrapping the expression in a variant of `modit::Key` [INFO] [stdout] | [INFO] [stdout] 11 | parser.parse(modit::Key::Char(c), selection, |event| events.push(event)); [INFO] [stdout] | +++++++++++++++++ + [INFO] [stdout] 11 | parser.parse(modit::Key::Ctrl(c), selection, |event| events.push(event)); [INFO] [stdout] | +++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/vi.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | Key::Ctrl(c) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 667 | Key::Ctrl(_c) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VI_DEFAULT_REGISTER` [INFO] [stdout] | [INFO] [stdout] 667 - Key::Ctrl(c) => { [INFO] [stdout] 667 + Key::Ctrl(vi::VI_DEFAULT_REGISTER) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/vi.rs:760:27 [INFO] [stdout] | [INFO] [stdout] 760 | Key::Ctrl(c) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 760 | Key::Ctrl(_c) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VI_DEFAULT_REGISTER` [INFO] [stdout] | [INFO] [stdout] 760 - Key::Ctrl(c) => { [INFO] [stdout] 760 + Key::Ctrl(vi::VI_DEFAULT_REGISTER) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `modit` (example "parse") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fff39627ca65b4081222e08c33e755f045b1639b12b3de6b5d5be61e3b6b408b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff39627ca65b4081222e08c33e755f045b1639b12b3de6b5d5be61e3b6b408b", kill_on_drop: false }` [INFO] [stdout] fff39627ca65b4081222e08c33e755f045b1639b12b3de6b5d5be61e3b6b408b