[INFO] fetching crate mdxt 0.5.18... [INFO] checking mdxt-0.5.18 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate mdxt 0.5.18 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate mdxt 0.5.18 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 mdxt 0.5.18 [INFO] finished tweaking crates.io crate mdxt 0.5.18 [INFO] tweaked toml for crates.io crate mdxt 0.5.18 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d2373830d58f2cd648bed4cc4e7f6c32c8ced36876a171be74a81d5a7f1faa76 [INFO] running `Command { std: "docker" "start" "-a" "d2373830d58f2cd648bed4cc4e7f6c32c8ced36876a171be74a81d5a7f1faa76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2373830d58f2cd648bed4cc4e7f6c32c8ced36876a171be74a81d5a7f1faa76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2373830d58f2cd648bed4cc4e7f6c32c8ced36876a171be74a81d5a7f1faa76", kill_on_drop: false }` [INFO] [stdout] d2373830d58f2cd648bed4cc4e7f6c32c8ced36876a171be74a81d5a7f1faa76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 57ad5794969f06566b9d460c7912ecbd1706658a7c3b4d1981f8f4f48603fed6 [INFO] running `Command { std: "docker" "start" "-a" "57ad5794969f06566b9d460c7912ecbd1706658a7c3b4d1981f8f4f48603fed6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking time v0.3.21 [INFO] [stderr] Checking quick-xml v0.28.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.4.3 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking syntect v5.0.0 [INFO] [stderr] Checking mdxt v0.5.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/mod.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut footnote_reference = self.doc_data.footnote_references.get_mut(&label).unwrap(); [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/ast/mod.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut footnote_reference = self.doc_data.footnote_references.get_mut(&label).unwrap(); [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: unused variable: `has_closing` [INFO] [stdout] --> src/inline/macros/multiline.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | has_closing // supposed to be true [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `has_closing: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_mdxt` is never used [INFO] [stdout] --> src/inline/mod.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl InlineNode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn to_mdxt(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_while` is never used [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn take_while(v: &[u32], c: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ast/parse.rs:172:72 [INFO] [stdout] | [INFO] [stdout] 172 | ... let mut inner_macro_stack = vec![macro_.clone()]; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` 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/ast/parse.rs:208:83 [INFO] [stdout] | [INFO] [stdout] 208 | ... inner_macro_stack.push(inner_macro.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` 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/ast/parse.rs:360:72 [INFO] [stdout] | [INFO] [stdout] 360 | ... let mut inner_macro_stack = vec![macro_.clone()]; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` 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/ast/parse.rs:394:83 [INFO] [stdout] | [INFO] [stdout] 394 | ... inner_macro_stack.push(inner_macro.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdxt` (lib) due to 5 previous errors; 4 warnings emitted [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/ast/parse.rs:172:72 [INFO] [stdout] | [INFO] [stdout] 172 | ... let mut inner_macro_stack = vec![macro_.clone()]; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` 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/ast/parse.rs:208:83 [INFO] [stdout] | [INFO] [stdout] 208 | ... inner_macro_stack.push(inner_macro.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` 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/ast/parse.rs:360:72 [INFO] [stdout] | [INFO] [stdout] 360 | ... let mut inner_macro_stack = vec![macro_.clone()]; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` 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/ast/parse.rs:394:83 [INFO] [stdout] | [INFO] [stdout] 394 | ... inner_macro_stack.push(inner_macro.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Macro` does not implement `Clone`, so calling `clone` on `&Macro` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdxt` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "57ad5794969f06566b9d460c7912ecbd1706658a7c3b4d1981f8f4f48603fed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ad5794969f06566b9d460c7912ecbd1706658a7c3b4d1981f8f4f48603fed6", kill_on_drop: false }` [INFO] [stdout] 57ad5794969f06566b9d460c7912ecbd1706658a7c3b4d1981f8f4f48603fed6