[INFO] cloning repository https://github.com/ishidex2/domlet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ishidex2/domlet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishidex2%2Fdomlet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishidex2%2Fdomlet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9e488b52441ed72e00ce2cfaeae7f395806ca30 [INFO] checking ishidex2/domlet against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishidex2%2Fdomlet" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ishidex2/domlet on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ishidex2/domlet [INFO] finished tweaking git repo https://github.com/ishidex2/domlet [INFO] tweaked toml for git repo https://github.com/ishidex2/domlet written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ishidex2/domlet 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.serde.serde [INFO] [stderr] warning: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f599c819e0802c6025175f19669353c58d752a4c4430e47437ed553e0dcca89 [INFO] running `Command { std: "docker" "start" "-a" "5f599c819e0802c6025175f19669353c58d752a4c4430e47437ed553e0dcca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f599c819e0802c6025175f19669353c58d752a4c4430e47437ed553e0dcca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f599c819e0802c6025175f19669353c58d752a4c4430e47437ed553e0dcca89", kill_on_drop: false }` [INFO] [stdout] 5f599c819e0802c6025175f19669353c58d752a4c4430e47437ed553e0dcca89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc09840ccf3caf078d17dec238719ae92d5e9b24999d89299c755e57e19383c [INFO] running `Command { std: "docker" "start" "-a" "6fc09840ccf3caf078d17dec238719ae92d5e9b24999d89299c755e57e19383c", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.serde.serde [INFO] [stderr] warning: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking ron v0.6.4 [INFO] [stderr] Checking xogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/dom_repr.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bucket_array::{self, BucketArray}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/dom_repr.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | DomComponent::Element(e) => Some({ &e.children }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 154 - DomComponent::Element(e) => Some({ &e.children }), [INFO] [stdout] 154 + DomComponent::Element(e) => Some(&e.children), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/dom_repr.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bucket_array::{self, BucketArray}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/dom_repr.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | DomComponent::Element(e) => Some({ &e.children }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 154 - DomComponent::Element(e) => Some({ &e.children }), [INFO] [stdout] 154 + DomComponent::Element(e) => Some(&e.children), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/xml_ui.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, fs::File}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/xml_ui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventReader`, `XmlEvent` [INFO] [stdout] --> src/xml_ui.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use xml::reader::{EventReader, XmlEvent}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/xml_ui.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, fs::File}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/xml_ui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventReader`, `XmlEvent` [INFO] [stdout] --> src/xml_ui.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use xml::reader::{EventReader, XmlEvent}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> src/xml_ui.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | DomComponent::Element(el) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_ui.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut stylesheet = match crate::css_parser::CssParser::new(style_file.as_str()).parse() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_ui.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut system = match DomSystem::from_xml(&file) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/css_matcher.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> src/xml_ui.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | DomComponent::Element(el) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_ui.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut stylesheet = match crate::css_parser::CssParser::new(style_file.as_str()).parse() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_ui.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut system = match DomSystem::from_xml(&file) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/css_matcher.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dom_repr.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | e => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 297 - e => panic!(format!("{:?}", e)), [INFO] [stdout] 297 + e => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dom_repr.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | e => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 301 - e => panic!(format!("{:?}", e)), [INFO] [stdout] 301 + e => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dom_repr.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | e => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 305 - e => panic!(format!("{:?}", e)), [INFO] [stdout] 305 + e => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.85s [INFO] running `Command { std: "docker" "inspect" "6fc09840ccf3caf078d17dec238719ae92d5e9b24999d89299c755e57e19383c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc09840ccf3caf078d17dec238719ae92d5e9b24999d89299c755e57e19383c", kill_on_drop: false }` [INFO] [stdout] 6fc09840ccf3caf078d17dec238719ae92d5e9b24999d89299c755e57e19383c