[INFO] fetching crate svgdom 0.18.0... [INFO] checking svgdom-0.18.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate svgdom 0.18.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate svgdom 0.18.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate svgdom 0.18.0 [INFO] finished tweaking crates.io crate svgdom 0.18.0 [INFO] tweaked toml for crates.io crate svgdom 0.18.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate svgdom 0.18.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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svgtypes v0.5.0 [INFO] [stderr] Downloaded ctor v0.1.9 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded xmlparser v0.9.0 [INFO] [stderr] Downloaded simplecss v0.2.0 [INFO] [stderr] Downloaded syn v0.15.35 [INFO] [stderr] Downloaded fern v0.5.8 [INFO] [stderr] Downloaded float-cmp v0.5.0 [INFO] [stderr] Downloaded roxmltree v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0de359020b6f04cc2a441b87a0751899caeed9b2626c9cd89a4727f75bd3104 [INFO] running `Command { std: "docker" "start" "-a" "c0de359020b6f04cc2a441b87a0751899caeed9b2626c9cd89a4727f75bd3104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0de359020b6f04cc2a441b87a0751899caeed9b2626c9cd89a4727f75bd3104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0de359020b6f04cc2a441b87a0751899caeed9b2626c9cd89a4727f75bd3104", kill_on_drop: false }` [INFO] [stdout] c0de359020b6f04cc2a441b87a0751899caeed9b2626c9cd89a4727f75bd3104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04b8bebd1d43ab37c2f9a0e4a236c69a9d7654c0703f1542bc2551017f3b352a [INFO] running `Command { std: "docker" "start" "-a" "04b8bebd1d43ab37c2f9a0e4a236c69a9d7654c0703f1542bc2551017f3b352a", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking xmlparser v0.9.0 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking float-cmp v0.5.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking roxmltree v0.6.0 [INFO] [stderr] Checking simplecss v0.2.0 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Checking svgdom v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `roxmltree` is imported redundantly [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use roxmltree::{self, TextPos}; [INFO] [stdout] | ^^^^ the item `roxmltree` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PaintFallback` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | PaintFallback, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `PaintFallback` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking time v0.1.42 [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/names.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | let b = entry.0.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` 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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/attributes.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { let _ = mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `roxmltree` is imported redundantly [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use roxmltree::{self, TextPos}; [INFO] [stdout] | ^^^^ the item `roxmltree` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PaintFallback` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | PaintFallback, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `PaintFallback` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_buf` found for struct `Document` in the current scope [INFO] [stdout] --> benches/parser.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | doc.write_buf(&mut ouput_data); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] ... [INFO] [stdout] 52 | do_write!(write_small, "benches/small.svg"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_buf` found for struct `Document` in the current scope [INFO] [stdout] --> benches/parser.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | doc.write_buf(&mut ouput_data); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] ... [INFO] [stdout] 53 | do_write!(write_medium, "benches/medium.svg"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/names.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | let b = entry.0.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` 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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/attributes.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { let _ = mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_buf` found for struct `Document` in the current scope [INFO] [stdout] --> benches/parser.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | doc.write_buf(&mut ouput_data); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] ... [INFO] [stdout] 54 | do_write!(write_large, "benches/large.svg"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBuffer` [INFO] [stdout] --> benches/parser.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use svgdom::{Document, WriteBuffer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `svgdom` (bench "parser") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "04b8bebd1d43ab37c2f9a0e4a236c69a9d7654c0703f1542bc2551017f3b352a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b8bebd1d43ab37c2f9a0e4a236c69a9d7654c0703f1542bc2551017f3b352a", kill_on_drop: false }` [INFO] [stdout] 04b8bebd1d43ab37c2f9a0e4a236c69a9d7654c0703f1542bc2551017f3b352a