[INFO] cloning repository https://github.com/lexa-diky/hexo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lexa-diky/hexo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flexa-diky%2Fhexo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flexa-diky%2Fhexo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99cc5c5886ce025e27015885a1b41ccb31b8ecbe [INFO] testing lexa-diky/hexo against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flexa-diky%2Fhexo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lexa-diky/hexo [INFO] finished tweaking git repo https://github.com/lexa-diky/hexo [INFO] tweaked toml for git repo https://github.com/lexa-diky/hexo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lexa-diky/hexo on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lexa-diky/hexo 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d0f623dfa0c78691a826e0673aae1900067d58481e9e9f9983e16c724f39fb [INFO] running `Command { std: "docker" "start" "-a" "47d0f623dfa0c78691a826e0673aae1900067d58481e9e9f9983e16c724f39fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d0f623dfa0c78691a826e0673aae1900067d58481e9e9f9983e16c724f39fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d0f623dfa0c78691a826e0673aae1900067d58481e9e9f9983e16c724f39fb", kill_on_drop: false }` [INFO] [stdout] 47d0f623dfa0c78691a826e0673aae1900067d58481e9e9f9983e16c724f39fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 404f43a65e26508eb3d51114d852653a9e94c1a23588d40a2ecd2d84b14bbc48 [INFO] running `Command { std: "docker" "start" "-a" "404f43a65e26508eb3d51114d852653a9e94c1a23588d40a2ecd2d84b14bbc48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling 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] Compiling 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] Compiling hexo v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `redundant_field_names` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | redundant_field_names [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `redundant_lifetimes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compiler/native_fn/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/compiler/rst/scope.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/compiler/rst/compiler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ByteBuffer` [INFO] [stdout] --> src/util/byte_buffer.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use super::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 `path` is never read [INFO] [stdout] --> src/compiler/cst/node.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CstFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub(crate) path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CstFile` has derived impls for the traits `Clone` and `Debug`, 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: method `path` is never used [INFO] [stdout] --> src/compiler/cst/node.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl CstFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn path(&self) -> &Path { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/native_fn/arguments.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new(args: &HashMap) -> NativeFunctionArguments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new(args: &HashMap) -> NativeFunctionArguments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/rst/compiler.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | 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 16.76s [INFO] running `Command { std: "docker" "inspect" "404f43a65e26508eb3d51114d852653a9e94c1a23588d40a2ecd2d84b14bbc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404f43a65e26508eb3d51114d852653a9e94c1a23588d40a2ecd2d84b14bbc48", kill_on_drop: false }` [INFO] [stdout] 404f43a65e26508eb3d51114d852653a9e94c1a23588d40a2ecd2d84b14bbc48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eba898200454607601068b1bab52db0aac1d7bc8925e21ae1f7cfe164b81d019 [INFO] running `Command { std: "docker" "start" "-a" "eba898200454607601068b1bab52db0aac1d7bc8925e21ae1f7cfe164b81d019", kill_on_drop: false }` [INFO] [stderr] Compiling hexo v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `redundant_field_names` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | redundant_field_names [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `redundant_lifetimes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compiler/native_fn/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/compiler/rst/scope.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/compiler/rst/compiler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [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 `path` is never read [INFO] [stdout] --> src/compiler/cst/node.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CstFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub(crate) path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CstFile` has derived impls for the traits `Clone` and `Debug`, 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: method `path` is never used [INFO] [stdout] --> src/compiler/cst/node.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl CstFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn path(&self) -> &Path { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/native_fn/arguments.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new(args: &HashMap) -> NativeFunctionArguments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new(args: &HashMap) -> NativeFunctionArguments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/rst/compiler.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "eba898200454607601068b1bab52db0aac1d7bc8925e21ae1f7cfe164b81d019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba898200454607601068b1bab52db0aac1d7bc8925e21ae1f7cfe164b81d019", kill_on_drop: false }` [INFO] [stdout] eba898200454607601068b1bab52db0aac1d7bc8925e21ae1f7cfe164b81d019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dfb66ad9ec193455ab9320611eef4c285c30ce7dc96d419f0d4998d3c7ced415 [INFO] running `Command { std: "docker" "start" "-a" "dfb66ad9ec193455ab9320611eef4c285c30ce7dc96d419f0d4998d3c7ced415", kill_on_drop: false }` [INFO] [stderr] warning: unknown lint: `redundant_field_names` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | redundant_field_names [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `redundant_lifetimes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/compiler/native_fn/signature.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/compiler/rst/scope.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/compiler/rst/compiler.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `info` [INFO] [stderr] --> src/util/logger.rs:109:14 [INFO] [stderr] | [INFO] [stderr] 109 | macro_rules! info { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `warning` [INFO] [stderr] --> src/util/logger.rs:123:14 [INFO] [stderr] | [INFO] [stderr] 123 | macro_rules! warning { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `info` and `warning` [INFO] [stderr] --> src/util/logger.rs:146:39 [INFO] [stderr] | [INFO] [stderr] 146 | pub(crate) use {debug, output, error, info, warning}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/compiler/cst/node.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) struct CstFile { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 5 | pub(crate) path: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CstFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `path` is never used [INFO] [stderr] --> src/compiler/cst/node.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 9 | impl CstFile { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | pub(crate) fn path(&self) -> &Path { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `info` and `warn` are never used [INFO] [stderr] --> src/util/logger.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 42 | impl HexoLogger { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 55 | pub(crate) fn info(&self, location: &str, message: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub(crate) fn warn(&self, location: &str, message: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/compiler/native_fn/arguments.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn new(args: &HashMap) -> NativeFunctionArguments { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn new(args: &HashMap) -> NativeFunctionArguments<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/compiler/rst/compiler.rs:22:31 [INFO] [stderr] | [INFO] [stderr] 22 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler { [INFO] [stderr] | ^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | pub(crate) fn new(parent: &HexoCompiler, safe_mode: bool) -> RstCompiler<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `hexo` (bin "hexo" test) generated 12 warnings (run `cargo fix --bin "hexo" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hexo-141db928e5c2d01e) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test util::byte_buffer::test::byte_push ... ok [INFO] [stdout] test util::byte_buffer::test::string_push ... ok [INFO] [stdout] test util::byte_buffer::test::u32_push ... ok [INFO] [stdout] test test::integration::len ... ok [INFO] [stdout] test test::integration::pad_right ... ok [INFO] [stdout] test compiler::hexo_compiler::benchmarks::compilation ... ok [INFO] [stdout] test test::integration::java_object ... ok [INFO] [stdout] test test::integration::pad_left ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfb66ad9ec193455ab9320611eef4c285c30ce7dc96d419f0d4998d3c7ced415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfb66ad9ec193455ab9320611eef4c285c30ce7dc96d419f0d4998d3c7ced415", kill_on_drop: false }` [INFO] [stdout] dfb66ad9ec193455ab9320611eef4c285c30ce7dc96d419f0d4998d3c7ced415