[INFO] cloning repository https://github.com/akshay1992kalbhor/rust-browser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akshay1992kalbhor/rust-browser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshay1992kalbhor%2Frust-browser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshay1992kalbhor%2Frust-browser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e513a9a99bb6e57ee8dc31b56f71c35c8586bd [INFO] checking akshay1992kalbhor/rust-browser against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshay1992kalbhor%2Frust-browser" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akshay1992kalbhor/rust-browser on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akshay1992kalbhor/rust-browser [INFO] finished tweaking git repo https://github.com/akshay1992kalbhor/rust-browser [INFO] tweaked toml for git repo https://github.com/akshay1992kalbhor/rust-browser written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/akshay1992kalbhor/rust-browser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-core v0.3.14 [INFO] [stderr] Downloaded glib v0.10.3 [INFO] [stderr] Downloaded unic-langid v0.9.0 [INFO] [stderr] Downloaded piet-common v0.3.2 [INFO] [stderr] Downloaded intl-memoizer v0.5.1 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded glib-sys v0.10.1 [INFO] [stderr] Downloaded kurbo v0.7.1 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded gtk v0.9.2 [INFO] [stderr] Downloaded console_log v0.2.0 [INFO] [stderr] Downloaded druid v0.7.0 [INFO] [stderr] Downloaded druid-derive v0.4.0 [INFO] [stderr] Downloaded piet v0.3.1 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded futures-executor v0.3.14 [INFO] [stderr] Downloaded futures-util v0.3.14 [INFO] [stderr] Downloaded utf16_lit v1.0.1 [INFO] [stderr] Downloaded unic-langid-impl v0.9.0 [INFO] [stderr] Downloaded fluent-bundle v0.12.0 [INFO] [stderr] Downloaded piet-web v0.3.1 [INFO] [stderr] Downloaded piet-cairo v0.3.0 [INFO] [stderr] Downloaded unic-bidi v0.9.0 [INFO] [stderr] Downloaded futures-channel v0.3.14 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded druid-shell v0.7.0 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded type-map v0.4.0 [INFO] [stderr] Downloaded intl_pluralrules v7.0.1 [INFO] [stderr] Downloaded simple_logger v1.11.0 [INFO] [stderr] Downloaded gdk v0.13.2 [INFO] [stderr] Downloaded gio v0.9.1 [INFO] [stderr] Downloaded keyboard-types v0.5.0 [INFO] [stderr] Downloaded gio-sys v0.10.1 [INFO] [stderr] Downloaded piet-coregraphics v0.3.0 [INFO] [stderr] Downloaded associative-cache v1.0.1 [INFO] [stderr] Downloaded piet-direct2d v0.3.0 [INFO] [stderr] Downloaded unic-ucd-bidi v0.9.0 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded fluent-langneg v0.13.0 [INFO] [stderr] Downloaded tinystr v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eb0af815f109a61b1dbefc0760308448277387c63e9e314c675cf26abd997fb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5eb0af815f109a61b1dbefc0760308448277387c63e9e314c675cf26abd997fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb0af815f109a61b1dbefc0760308448277387c63e9e314c675cf26abd997fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb0af815f109a61b1dbefc0760308448277387c63e9e314c675cf26abd997fb", kill_on_drop: false }` [INFO] [stdout] 5eb0af815f109a61b1dbefc0760308448277387c63e9e314c675cf26abd997fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 399dfdb1267bbe3020fd988ed399eb126ee1df7515aab0e673de2bf8f62f7e21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "399dfdb1267bbe3020fd988ed399eb126ee1df7515aab0e673de2bf8f62f7e21", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking piet-cairo v0.3.0 [INFO] [stderr] Checking piet-common v0.3.2 [INFO] [stderr] Checking druid-shell v0.7.0 [INFO] [stderr] Checking druid v0.7.0 [INFO] [stderr] Checking rust-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WindowHandle` [INFO] [stdout] --> src/main.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | use druid_shell::{Application, HotKey, Menu, SysMods, WindowBuilder, WindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowHandle` [INFO] [stdout] --> src/main.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | use druid_shell::{Application, HotKey, Menu, SysMods, WindowBuilder, WindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (host, path) = rest.split_once("/").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let path = "/".to_owned() + &path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (host, path) = rest.split_once("/").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let path = "/".to_owned() + &path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | fn layout(text: String) -> Vec<(u32, u32, char)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | fn layout(text: String) -> Vec<(u32, u32, char)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | let my_painter = Painter::new(|ctx, w: &String, _| {}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | let my_painter = Painter::new(|ctx, w: &String, _| {}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/main.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | let my_painter = Painter::new(|ctx, w: &String, _| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/main.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | let my_painter = Painter::new(|ctx, w: &String, _| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_painter` [INFO] [stdout] --> src/main.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let my_painter = Painter::new(|ctx, w: &String, _| {}); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let data = String::from("Hoorway"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let (body, headers) = self.request(url).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_painter` [INFO] [stdout] --> src/main.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let my_painter = Painter::new(|ctx, w: &String, _| {}); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_headers` [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let req_headers: HashMap<&str, &str> = vec![ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let first = format!( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent` [INFO] [stdout] --> src/main.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let sent = stream.write(second.as_bytes())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent` [INFO] [stdout] --> src/main.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let sent = stream.write(second.as_bytes())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/main.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | &[version, status, explanation] => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let data = String::from("Hoorway"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let (body, headers) = self.request(url).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | ctx: &mut druid::EventCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | event: &druid::Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | data: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_headers` [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let req_headers: HashMap<&str, &str> = vec![ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | ctx: &mut druid::LifeCycleCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | event: &druid::LifeCycle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let first = format!( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | data: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent` [INFO] [stdout] --> src/main.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let sent = stream.write(second.as_bytes())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | ctx: &mut druid::UpdateCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent` [INFO] [stdout] --> src/main.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let sent = stream.write(second.as_bytes())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_data` [INFO] [stdout] --> src/main.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | old_data: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/main.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | &[version, status, explanation] => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | data: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | ctx: &mut druid::LayoutCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | ctx: &mut druid::EventCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | data: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | event: &druid::Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:311:67 [INFO] [stdout] | [INFO] [stdout] 311 | fn paint(&mut self, ctx: &mut druid::PaintCtx, data: &String, env: &druid::Env) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | data: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | ctx: &mut druid::LifeCycleCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | event: &druid::LifeCycle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | data: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | ctx: &mut druid::UpdateCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_data` [INFO] [stdout] --> src/main.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | old_data: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | data: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | ctx: &mut druid::LayoutCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | data: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | env: &druid::Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:311:67 [INFO] [stdout] | [INFO] [stdout] 311 | fn paint(&mut self, ctx: &mut druid::PaintCtx, data: &String, env: &druid::Env) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_url` [INFO] [stdout] --> src/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_url(url: &str) -> (&str, &str, &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_f2` [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn test_f2() -> std::io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RequestHeader` [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct RequestHeader<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `layout` [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn layout(text: String) -> Vec<(u32, u32, char)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn render(&self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn show(&self, body: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_window_and_launch_app` [INFO] [stdout] --> src/main.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn setup_window_and_launch_app(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BG_COLOR` [INFO] [stdout] --> src/main.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | const BG_COLOR: Color = Color::rgb8(0x27, 0x28, 0x22); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FG_COLOR` [INFO] [stdout] --> src/main.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | const FG_COLOR: Color = Color::rgb8(0xf0, 0xf0, 0xea); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ui_builder` [INFO] [stdout] --> src/main.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn ui_builder() -> impl Widget { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/main.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | text: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_menu_bar` [INFO] [stdout] --> src/main.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn make_menu_bar() -> Menu { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `druid_shell_init` [INFO] [stdout] --> src/main.rs:366:4 [INFO] [stdout] | [INFO] [stdout] 366 | fn druid_shell_init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_url` [INFO] [stdout] --> src/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_url(url: &str) -> (&str, &str, &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_f2` [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn test_f2() -> std::io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RequestHeader` [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct RequestHeader<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `layout` [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn layout(text: String) -> Vec<(u32, u32, char)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn render(&self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn show(&self, body: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_window_and_launch_app` [INFO] [stdout] --> src/main.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn setup_window_and_launch_app(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BG_COLOR` [INFO] [stdout] --> src/main.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | const BG_COLOR: Color = Color::rgb8(0x27, 0x28, 0x22); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FG_COLOR` [INFO] [stdout] --> src/main.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | const FG_COLOR: Color = Color::rgb8(0xf0, 0xf0, 0xea); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ui_builder` [INFO] [stdout] --> src/main.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn ui_builder() -> impl Widget { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/main.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | text: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_menu_bar` [INFO] [stdout] --> src/main.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn make_menu_bar() -> Menu { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `druid_shell_init` [INFO] [stdout] --> src/main.rs:366:4 [INFO] [stdout] | [INFO] [stdout] 366 | fn druid_shell_init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | / AppLauncher::with_window(main_window) [INFO] [stdout] 362 | | .use_simple_logger() [INFO] [stdout] 363 | | .launch(body); [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/main.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | / AppLauncher::with_window(main_window) [INFO] [stdout] 362 | | .use_simple_logger() [INFO] [stdout] 363 | | .launch(body); [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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "399dfdb1267bbe3020fd988ed399eb126ee1df7515aab0e673de2bf8f62f7e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399dfdb1267bbe3020fd988ed399eb126ee1df7515aab0e673de2bf8f62f7e21", kill_on_drop: false }` [INFO] [stdout] 399dfdb1267bbe3020fd988ed399eb126ee1df7515aab0e673de2bf8f62f7e21