[INFO] fetching crate hexo 0.9.3... [INFO] checking hexo-0.9.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hexo 0.9.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hexo 0.9.3 [INFO] finished tweaking crates.io crate hexo 0.9.3 [INFO] tweaked toml for crates.io crate hexo 0.9.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hexo 0.9.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hexo 0.9.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 656eb9814004b7d8253ef665516ddb7dbbd7cded6432b84ba621d9c5f4d4fb0b [INFO] running `Command { std: "docker" "start" "-a" "656eb9814004b7d8253ef665516ddb7dbbd7cded6432b84ba621d9c5f4d4fb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "656eb9814004b7d8253ef665516ddb7dbbd7cded6432b84ba621d9c5f4d4fb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656eb9814004b7d8253ef665516ddb7dbbd7cded6432b84ba621d9c5f4d4fb0b", kill_on_drop: false }` [INFO] [stdout] 656eb9814004b7d8253ef665516ddb7dbbd7cded6432b84ba621d9c5f4d4fb0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0761f9ebc41daaad9192766a201d6304d5c6ed8c3d7a6ef22e296c76ee296a3d [INFO] running `Command { std: "docker" "start" "-a" "0761f9ebc41daaad9192766a201d6304d5c6ed8c3d7a6ef22e296c76ee296a3d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking hexo v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/cli/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `info` [INFO] [stdout] --> src/util/logger.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | macro_rules! info { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `warning` [INFO] [stdout] --> src/util/logger.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | macro_rules! warning { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warning` [INFO] [stdout] --> src/util/logger.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) use {debug, output, error, info, warning}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/cli/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::byte_buffer::ByteBuffer` [INFO] [stdout] --> src/util/byte_buffer.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use crate::util::byte_buffer::ByteBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `info` [INFO] [stdout] --> src/util/logger.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | macro_rules! info { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `warning` [INFO] [stdout] --> src/util/logger.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | macro_rules! warning { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warning` [INFO] [stdout] --> src/util/logger.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) use {debug, output, error, info, warning}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `self_path` is never read [INFO] [stdout] --> src/compiler/rst/compilation_context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct CompilationContext { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | self_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `context` are never read [INFO] [stdout] --> src/compiler/rst/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct HexoFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | context: CompilationContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexoFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path` and `context` are never used [INFO] [stdout] --> src/compiler/rst/node.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl HexoFile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn context(&self) -> &CompilationContext { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info` and `warn` are never used [INFO] [stdout] --> src/util/logger.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl HexoLogger { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn info(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn warn(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler/rst/compiler.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `self_path` is never read [INFO] [stdout] --> src/compiler/rst/compilation_context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct CompilationContext { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | self_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `context` are never read [INFO] [stdout] --> src/compiler/rst/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct HexoFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | context: CompilationContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexoFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path` and `context` are never used [INFO] [stdout] --> src/compiler/rst/node.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl HexoFile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn context(&self) -> &CompilationContext { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info` and `warn` are never used [INFO] [stdout] --> src/util/logger.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl HexoLogger { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn info(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn warn(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler/rst/compiler.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.86s [INFO] running `Command { std: "docker" "inspect" "0761f9ebc41daaad9192766a201d6304d5c6ed8c3d7a6ef22e296c76ee296a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0761f9ebc41daaad9192766a201d6304d5c6ed8c3d7a6ef22e296c76ee296a3d", kill_on_drop: false }` [INFO] [stdout] 0761f9ebc41daaad9192766a201d6304d5c6ed8c3d7a6ef22e296c76ee296a3d