[INFO] cloning repository https://github.com/danielbartsch/editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielbartsch/editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbartsch%2Feditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbartsch%2Feditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff1f014283610c5a4bc918b5db35e7753dfd154c [INFO] checking danielbartsch/editor against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbartsch%2Feditor" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielbartsch/editor on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielbartsch/editor [INFO] finished tweaking git repo https://github.com/danielbartsch/editor [INFO] tweaked toml for git repo https://github.com/danielbartsch/editor written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/danielbartsch/editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396aaffd27efc0a3fcb1fa7325942ab2d1534a6e4f87e568214fb0bea57320c7 [INFO] running `Command { std: "docker" "start" "-a" "396aaffd27efc0a3fcb1fa7325942ab2d1534a6e4f87e568214fb0bea57320c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396aaffd27efc0a3fcb1fa7325942ab2d1534a6e4f87e568214fb0bea57320c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396aaffd27efc0a3fcb1fa7325942ab2d1534a6e4f87e568214fb0bea57320c7", kill_on_drop: false }` [INFO] [stdout] 396aaffd27efc0a3fcb1fa7325942ab2d1534a6e4f87e568214fb0bea57320c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b09721819e969355a9059fcbd83059ce35bcaae8ea94f32fbc6a0f54fd28da8f [INFO] running `Command { std: "docker" "start" "-a" "b09721819e969355a9059fcbd83059ce35bcaae8ea94f32fbc6a0f54fd28da8f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking libc v0.2.62 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.2 [INFO] [stderr] Checking hello_world v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/editor/cursor.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/editor/cursor.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pressed_keys` is never read [INFO] [stdout] --> src/editor/ui.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pressed_keys = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/editor/cursor.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pressed_keys` is never read [INFO] [stdout] --> src/editor/ui.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pressed_keys = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/editor/cursor.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_file(file_name: &str) -> Cursor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_file` [INFO] [stdout] --> src/editor/cursor.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_file(&mut self, file_name: &str) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords` [INFO] [stdout] --> src/editor/ui.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | fn get_line_coords(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords_line_draw` [INFO] [stdout] --> src/editor/ui.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_line_coords_line_draw(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords` [INFO] [stdout] --> src/editor/ui.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | fn get_line_coords(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords_line_draw` [INFO] [stdout] --> src/editor/ui.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_line_coords_line_draw(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.17s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking hello_world v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/editor/cursor.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pressed_keys` is never read [INFO] [stdout] --> src/editor/ui.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pressed_keys = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords` [INFO] [stdout] --> src/editor/ui.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | fn get_line_coords(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords_line_draw` [INFO] [stdout] --> src/editor/ui.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_line_coords_line_draw(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/editor/cursor.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/editor/cursor.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pressed_keys` is never read [INFO] [stdout] --> src/editor/ui.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pressed_keys = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/editor/cursor.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_file(file_name: &str) -> Cursor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_file` [INFO] [stdout] --> src/editor/cursor.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_file(&mut self, file_name: &str) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords` [INFO] [stdout] --> src/editor/ui.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | fn get_line_coords(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_line_coords_line_draw` [INFO] [stdout] --> src/editor/ui.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_line_coords_line_draw(column_from: usize, column_to: usize) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "b09721819e969355a9059fcbd83059ce35bcaae8ea94f32fbc6a0f54fd28da8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09721819e969355a9059fcbd83059ce35bcaae8ea94f32fbc6a0f54fd28da8f", kill_on_drop: false }` [INFO] [stdout] b09721819e969355a9059fcbd83059ce35bcaae8ea94f32fbc6a0f54fd28da8f