[INFO] cloning repository https://github.com/ajnewlands/screenpub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajnewlands/screenpub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajnewlands%2Fscreenpub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajnewlands%2Fscreenpub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5d618080643514809bc4a2036d6e74d7ba8e42b [INFO] building ajnewlands/screenpub against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajnewlands%2Fscreenpub" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajnewlands/screenpub on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajnewlands/screenpub [INFO] finished tweaking git repo https://github.com/ajnewlands/screenpub [INFO] tweaked toml for git repo https://github.com/ajnewlands/screenpub written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ajnewlands/screenpub already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b648b54882d6921ffc18575a68fd89a615fb7d0b0095c27df56f684090675b4 [INFO] running `Command { std: "docker" "start" "-a" "3b648b54882d6921ffc18575a68fd89a615fb7d0b0095c27df56f684090675b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b648b54882d6921ffc18575a68fd89a615fb7d0b0095c27df56f684090675b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b648b54882d6921ffc18575a68fd89a615fb7d0b0095c27df56f684090675b4", kill_on_drop: false }` [INFO] [stdout] 3b648b54882d6921ffc18575a68fd89a615fb7d0b0095c27df56f684090675b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d2eb9ac3345ef05ec8c4ca979689222566f36d4b148d15bfefd84bc40001f00 [INFO] running `Command { std: "docker" "start" "-a" "7d2eb9ac3345ef05ec8c4ca979689222566f36d4b148d15bfefd84bc40001f00", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling scrap v0.5.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling block v0.1.6 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling flatbuffers v0.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling libgit2-sys v0.9.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling mtpng v0.3.2 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling git2 v0.10.1 [INFO] [stderr] Compiling snafu v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling amiquip v0.3.2 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling screenpub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `avx2_cmp_and_convert` [INFO] [stdout] --> src/snapscreen/snapscreen.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use converters::{ avx2_bgra_to_rgba, avx2_cmp_and_convert, avx2_cmp, avx2_convert_in_place }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/snapscreen/snapscreen.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | if(y > starty) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if(y > starty) { [INFO] [stdout] 142 + if y > starty { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/snapscreen/snapscreen.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | if( sx == startx && ex == endx ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if( sx == startx && ex == endx ) { [INFO] [stdout] 205 + if sx == startx && ex == endx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/snapscreen/snapscreen.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | if( sy == starty && ey == endy ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 245 - if( sy == starty && ey == endy ) { [INFO] [stdout] 245 + if sy == starty && ey == endy { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/publisher.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | Some(headers) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_v` [INFO] [stdout] --> src/snapscreen/snapscreen.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn split_v(&mut self, data: &Vec, bytes_per_row: i32, startx: i32, starty: i32, endx: i32, endy: i32) -> Vec { [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: `split_h` [INFO] [stdout] --> src/snapscreen/snapscreen.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn split_h(&mut self, data: &Vec, bytes_per_row: i32, startx: i32, starty: i32, endx: i32, endy: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `naive_bgra_to_rgba` [INFO] [stdout] --> src/snapscreen/converters.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn naive_bgra_to_rgba(offset: usize, bgra: &Vec, rgba: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dlwbitop_bgra_to_rgba` [INFO] [stdout] --> src/snapscreen/converters.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub unsafe fn dlwbitop_bgra_to_rgba( offset: isize, bgra: &Vec, rgba: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avx2_convert_with_deltas` [INFO] [stdout] --> src/snapscreen/converters.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe fn avx2_convert_with_deltas( offset: isize, new: &mut Vec, old: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avx2_cmp_and_convert` [INFO] [stdout] --> src/snapscreen/converters.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn avx2_cmp_and_convert( offset: isize, new: &Vec, old: &mut Vec ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ssse3_bgra_to_rgba` [INFO] [stdout] --> src/snapscreen/converters.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub unsafe fn ssse3_bgra_to_rgba(offset: isize, bgra: &Vec, rgba: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | header.set_size( width, height ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | options.set_compression_level(CompressionLevel::Fast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | self.chan.basic_publish(self.ex.clone(), opts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | ... self.dispatch_message(update, vec![ ("type", "ViewUpdate"), ("sender_id", &self.id), ("session", &session), ("dest_id", &dest_id) ]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | ... self.dispatch_message(update, vec![ ("type", "ViewUpdate"), ("sender_id", &self.id), ("session", &session), ("dest_id", &dest_id) ]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | ... consumer.cancel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | self.consume_shared(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:296:45 [INFO] [stdout] | [INFO] [stdout] 296 | ... shared_consumer.cancel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "7d2eb9ac3345ef05ec8c4ca979689222566f36d4b148d15bfefd84bc40001f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d2eb9ac3345ef05ec8c4ca979689222566f36d4b148d15bfefd84bc40001f00", kill_on_drop: false }` [INFO] [stdout] 7d2eb9ac3345ef05ec8c4ca979689222566f36d4b148d15bfefd84bc40001f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b53a335e2534815a482a9ac113057e83b83fceed74b6167e770f753369cf212 [INFO] running `Command { std: "docker" "start" "-a" "7b53a335e2534815a482a9ac113057e83b83fceed74b6167e770f753369cf212", kill_on_drop: false }` [INFO] [stderr] Compiling screenpub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `avx2_cmp_and_convert` [INFO] [stdout] --> src/snapscreen/snapscreen.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use converters::{ avx2_bgra_to_rgba, avx2_cmp_and_convert, avx2_cmp, avx2_convert_in_place }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/snapscreen/snapscreen.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | if(y > starty) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if(y > starty) { [INFO] [stdout] 142 + if y > starty { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/snapscreen/snapscreen.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | if( sx == startx && ex == endx ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if( sx == startx && ex == endx ) { [INFO] [stdout] 205 + if sx == startx && ex == endx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/snapscreen/snapscreen.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | if( sy == starty && ey == endy ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 245 - if( sy == starty && ey == endy ) { [INFO] [stdout] 245 + if sy == starty && ey == endy { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/publisher.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | Some(headers) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_v` [INFO] [stdout] --> src/snapscreen/snapscreen.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn split_v(&mut self, data: &Vec, bytes_per_row: i32, startx: i32, starty: i32, endx: i32, endy: i32) -> Vec { [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: `split_h` [INFO] [stdout] --> src/snapscreen/snapscreen.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn split_h(&mut self, data: &Vec, bytes_per_row: i32, startx: i32, starty: i32, endx: i32, endy: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `naive_bgra_to_rgba` [INFO] [stdout] --> src/snapscreen/converters.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn naive_bgra_to_rgba(offset: usize, bgra: &Vec, rgba: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dlwbitop_bgra_to_rgba` [INFO] [stdout] --> src/snapscreen/converters.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub unsafe fn dlwbitop_bgra_to_rgba( offset: isize, bgra: &Vec, rgba: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avx2_convert_with_deltas` [INFO] [stdout] --> src/snapscreen/converters.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe fn avx2_convert_with_deltas( offset: isize, new: &mut Vec, old: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avx2_cmp_and_convert` [INFO] [stdout] --> src/snapscreen/converters.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn avx2_cmp_and_convert( offset: isize, new: &Vec, old: &mut Vec ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ssse3_bgra_to_rgba` [INFO] [stdout] --> src/snapscreen/converters.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub unsafe fn ssse3_bgra_to_rgba(offset: isize, bgra: &Vec, rgba: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | header.set_size( width, height ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | options.set_compression_level(CompressionLevel::Fast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | self.chan.basic_publish(self.ex.clone(), opts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | ... self.dispatch_message(update, vec![ ("type", "ViewUpdate"), ("sender_id", &self.id), ("session", &session), ("dest_id", &dest_id) ]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | ... self.dispatch_message(update, vec![ ("type", "ViewUpdate"), ("sender_id", &self.id), ("session", &session), ("dest_id", &dest_id) ]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | ... consumer.cancel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | self.consume_shared(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/publisher.rs:296:45 [INFO] [stdout] | [INFO] [stdout] 296 | ... shared_consumer.cancel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.30s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/screenpub-4de807b1b67a44c7) [INFO] running `Command { std: "docker" "inspect" "7b53a335e2534815a482a9ac113057e83b83fceed74b6167e770f753369cf212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b53a335e2534815a482a9ac113057e83b83fceed74b6167e770f753369cf212", kill_on_drop: false }` [INFO] [stdout] 7b53a335e2534815a482a9ac113057e83b83fceed74b6167e770f753369cf212