[INFO] fetching crate monolith 2.7.0... [INFO] checking monolith-2.7.0 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate monolith 2.7.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate monolith 2.7.0 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate monolith 2.7.0 [INFO] finished tweaking crates.io crate monolith 2.7.0 [INFO] tweaked toml for crates.io crate monolith 2.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate monolith 2.7.0 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9514732ad056585fbc9518c4a35668581838179d44e7dfa8adcecc6d50e367f [INFO] running `Command { std: "docker" "start" "-a" "c9514732ad056585fbc9518c4a35668581838179d44e7dfa8adcecc6d50e367f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9514732ad056585fbc9518c4a35668581838179d44e7dfa8adcecc6d50e367f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9514732ad056585fbc9518c4a35668581838179d44e7dfa8adcecc6d50e367f", kill_on_drop: false }` [INFO] [stdout] c9514732ad056585fbc9518c4a35668581838179d44e7dfa8adcecc6d50e367f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2b412b6f83be51123ebe4b55e8d665f7cf465d13d69d4f9b034fb5abc085b0a [INFO] running `Command { std: "docker" "start" "-a" "d2b412b6f83be51123ebe4b55e8d665f7cf465d13d69d4f9b034fb5abc085b0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking os_str_bytes v6.3.1 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking ipnet v2.5.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking predicates-core v1.0.4 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking termtree v0.4.0 [INFO] [stderr] Checking bstr v1.0.1 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking predicates-tree v1.0.6 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling html5ever v0.24.1 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling cssparser v0.29.6 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking predicates v2.1.2 [INFO] [stderr] Checking assert_cmd v2.0.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling markup5ever v0.9.0 [INFO] [stderr] Checking reqwest v0.11.12 [INFO] [stderr] Checking monolith v2.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/css.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | let mut curr_rule: String = rule_name.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/css.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | let mut curr_prop: String = prop_name.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/html.rs:604:65 [INFO] [stdout] | [INFO] [stdout] 604 | let resolved_url: Url = resolve_url(document_url, attr_value.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] [stderr] error: could not compile `monolith` (lib) due to 4 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/css.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | let mut curr_rule: String = rule_name.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/css.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | let mut curr_prop: String = prop_name.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/html.rs:604:65 [INFO] [stdout] | [INFO] [stdout] 604 | let resolved_url: Url = resolve_url(document_url, attr_value.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monolith` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d2b412b6f83be51123ebe4b55e8d665f7cf465d13d69d4f9b034fb5abc085b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b412b6f83be51123ebe4b55e8d665f7cf465d13d69d4f9b034fb5abc085b0a", kill_on_drop: false }` [INFO] [stdout] d2b412b6f83be51123ebe4b55e8d665f7cf465d13d69d4f9b034fb5abc085b0a