[INFO] cloning repository https://github.com/rwilliaise/imgBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rwilliaise/imgBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwilliaise%2FimgBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwilliaise%2FimgBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dfdcc95e4d2eaace17d0cf419dcd73df3aeb678 [INFO] testing rwilliaise/imgBot against try#5a3d3b91048a0adf280e7a4e589c1dda6443f172 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwilliaise%2FimgBot" "/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/rwilliaise/imgBot on toolchain 5a3d3b91048a0adf280e7a4e589c1dda6443f172 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rwilliaise/imgBot [INFO] finished tweaking git repo https://github.com/rwilliaise/imgBot [INFO] tweaked toml for git repo https://github.com/rwilliaise/imgBot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rwilliaise/imgBot 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" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77db1383a5354989c84a3730c3019089829c0dc182b16695e6adf21f16adcef8 [INFO] running `Command { std: "docker" "start" "-a" "77db1383a5354989c84a3730c3019089829c0dc182b16695e6adf21f16adcef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77db1383a5354989c84a3730c3019089829c0dc182b16695e6adf21f16adcef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77db1383a5354989c84a3730c3019089829c0dc182b16695e6adf21f16adcef8", kill_on_drop: false }` [INFO] [stdout] 77db1383a5354989c84a3730c3019089829c0dc182b16695e6adf21f16adcef8 [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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82a35cfb415f7da30aed0b46f9339a2ce294074579859111f6ca2584c81632c4 [INFO] running `Command { std: "docker" "start" "-a" "82a35cfb415f7da30aed0b46f9339a2ce294074579859111f6ca2584c81632c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.12 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling err-context v0.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling shared v0.1.8 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-rc.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling uuid v1.0.0-alpha.1 [INFO] [stderr] Compiling linkify v0.8.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Compiling actix-http v3.0.0-rc.1 [INFO] [stderr] Compiling actix-web v4.0.0-rc.2 [INFO] [stderr] Compiling img_server v0.1.8 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling img_bot v0.1.8 (/opt/rustwide/workdir/bot) [INFO] [stdout] warning: variant `RightGravity` is never constructed [INFO] [stdout] --> server/font.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum HorizontalGravity { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 15 | LeftGravity, [INFO] [stdout] 16 | RightGravity, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalGravity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BottomGravity` is never constructed [INFO] [stdout] --> server/font.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum VerticalGravity { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 22 | TopGravity, [INFO] [stdout] 23 | BottomGravity, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalGravity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> server/font.rs:102:83 [INFO] [stdout] | [INFO] [stdout] 102 | let (text_width, _) = images::get_text_size(scale, &self.inner, &*wrap.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> server/font.rs:142:83 [INFO] [stdout] | [INFO] [stdout] 142 | let (text_width, _) = images::get_text_size(scale, &self.inner, &*wrap.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> server/font.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | &*wrap.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linkify::LinkFinder` [INFO] [stdout] --> bot/bot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use linkify::LinkFinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageReference` [INFO] [stdout] --> bot/process.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::model::channel::{Message, MessageReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bot::BotLock` [INFO] [stdout] --> bot/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bot::BotLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> bot/process.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(e) = msg { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.77s [INFO] running `Command { std: "docker" "inspect" "82a35cfb415f7da30aed0b46f9339a2ce294074579859111f6ca2584c81632c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a35cfb415f7da30aed0b46f9339a2ce294074579859111f6ca2584c81632c4", kill_on_drop: false }` [INFO] [stdout] 82a35cfb415f7da30aed0b46f9339a2ce294074579859111f6ca2584c81632c4 [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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecc46a9549de0560ec9a2f3d3f105feaef1812bb39d2de4eb10c050c69e36d19 [INFO] running `Command { std: "docker" "start" "-a" "ecc46a9549de0560ec9a2f3d3f105feaef1812bb39d2de4eb10c050c69e36d19", kill_on_drop: false }` [INFO] [stderr] Compiling img_server v0.1.8 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling shared v0.1.8 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling img_bot v0.1.8 (/opt/rustwide/workdir/bot) [INFO] [stdout] warning: unused import: `linkify::LinkFinder` [INFO] [stdout] --> bot/bot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use linkify::LinkFinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageReference` [INFO] [stdout] --> bot/process.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::model::channel::{Message, MessageReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bot::BotLock` [INFO] [stdout] --> bot/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bot::BotLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> bot/process.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(e) = msg { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RightGravity` is never constructed [INFO] [stdout] --> server/font.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum HorizontalGravity { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 15 | LeftGravity, [INFO] [stdout] 16 | RightGravity, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalGravity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BottomGravity` is never constructed [INFO] [stdout] --> server/font.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum VerticalGravity { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 22 | TopGravity, [INFO] [stdout] 23 | BottomGravity, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalGravity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> server/font.rs:102:83 [INFO] [stdout] | [INFO] [stdout] 102 | let (text_width, _) = images::get_text_size(scale, &self.inner, &*wrap.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> server/font.rs:142:83 [INFO] [stdout] | [INFO] [stdout] 142 | let (text_width, _) = images::get_text_size(scale, &self.inner, &*wrap.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> server/font.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | &*wrap.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "ecc46a9549de0560ec9a2f3d3f105feaef1812bb39d2de4eb10c050c69e36d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc46a9549de0560ec9a2f3d3f105feaef1812bb39d2de4eb10c050c69e36d19", kill_on_drop: false }` [INFO] [stdout] ecc46a9549de0560ec9a2f3d3f105feaef1812bb39d2de4eb10c050c69e36d19 [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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0843f590ec31d097dbf992e8c0dc721c408ed362ab10fc967dbbc4d1d4381606 [INFO] running `Command { std: "docker" "start" "-a" "0843f590ec31d097dbf992e8c0dc721c408ed362ab10fc967dbbc4d1d4381606", kill_on_drop: false }` [INFO] [stderr] warning: variant `RightGravity` is never constructed [INFO] [stderr] --> server/font.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum HorizontalGravity { [INFO] [stderr] | ----------------- variant in this enum [INFO] [stderr] 15 | LeftGravity, [INFO] [stderr] 16 | RightGravity, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HorizontalGravity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `BottomGravity` is never constructed [INFO] [stderr] --> server/font.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum VerticalGravity { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 22 | TopGravity, [INFO] [stderr] 23 | BottomGravity, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VerticalGravity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> server/font.rs:102:83 [INFO] [stderr] | [INFO] [stderr] 102 | let (text_width, _) = images::get_text_size(scale, &self.inner, &*wrap.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> server/font.rs:142:83 [INFO] [stderr] | [INFO] [stderr] 142 | let (text_width, _) = images::get_text_size(scale, &self.inner, &*wrap.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> server/font.rs:167:23 [INFO] [stderr] | [INFO] [stderr] 167 | &*wrap.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `img_server` (bin "img_server" test) generated 5 warnings (run `cargo fix --bin "img_server" --tests` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `linkify::LinkFinder` [INFO] [stderr] --> bot/bot.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use linkify::LinkFinder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MessageReference` [INFO] [stderr] --> bot/process.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | use serenity::model::channel::{Message, MessageReference}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::bot::BotLock` [INFO] [stderr] --> bot/process.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::bot::BotLock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> bot/process.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | if let Err(e) = msg { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `img_bot` (bin "img_bot" test) generated 4 warnings (run `cargo fix --bin "img_bot" --tests` to apply 4 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests main.rs (/opt/rustwide/target/debug/deps/img_bot-b01817afebb6e222) [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] [stderr] Running unittests main.rs (/opt/rustwide/target/debug/deps/img_server-e7dbd73a10ee40b4) [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] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/shared-72dabc167347b31b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests shared [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" "0843f590ec31d097dbf992e8c0dc721c408ed362ab10fc967dbbc4d1d4381606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0843f590ec31d097dbf992e8c0dc721c408ed362ab10fc967dbbc4d1d4381606", kill_on_drop: false }` [INFO] [stdout] 0843f590ec31d097dbf992e8c0dc721c408ed362ab10fc967dbbc4d1d4381606