[INFO] cloning repository https://github.com/torkleyy/cargo-apk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torkleyy/cargo-apk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkleyy%2Fcargo-apk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkleyy%2Fcargo-apk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ae5717b749d1d2ea329a9c1dc7eef5dc96d80e0 [INFO] checking torkleyy/cargo-apk against master#96cfc75584359ae7ad11cc45968059f29e7b44b7 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkleyy%2Fcargo-apk" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/torkleyy/cargo-apk on toolchain 96cfc75584359ae7ad11cc45968059f29e7b44b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/torkleyy/cargo-apk [INFO] finished tweaking git repo https://github.com/torkleyy/cargo-apk [INFO] tweaked toml for git repo https://github.com/torkleyy/cargo-apk written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/torkleyy/cargo-apk 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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/src/lib/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.23.1 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95f3cddc06af03ca7e4d395a58d11f28487a299f94b553aa893dfa49783bd230 [INFO] running `Command { std: "docker" "start" "-a" "95f3cddc06af03ca7e4d395a58d11f28487a299f94b553aa893dfa49783bd230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95f3cddc06af03ca7e4d395a58d11f28487a299f94b553aa893dfa49783bd230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f3cddc06af03ca7e4d395a58d11f28487a299f94b553aa893dfa49783bd230", kill_on_drop: false }` [INFO] [stdout] 95f3cddc06af03ca7e4d395a58d11f28487a299f94b553aa893dfa49783bd230 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8939616e560115dc5fbbf6253472296a224956260f399456819c7f5965c97827 [INFO] running `Command { std: "docker" "start" "-a" "8939616e560115dc5fbbf6253472296a224956260f399456819c7f5965c97827", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/src/lib/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking cargo-apk-lib v0.1.0 (/opt/rustwide/workdir/src/lib) [INFO] [stdout] warning: unused imports: `Display`, `Error as FormatError`, and `Formatter` [INFO] [stdout] --> src/lib/src/build.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Error as FormatError, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BuildError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib/src/build.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Error for BuildError { [INFO] [stdout] | ^^^^^^^^^^ `BuildError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BuildError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/96cfc75584359ae7ad11cc45968059f29e7b44b7/library/core/src/error.rs:53:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Error as FormatError`, and `Formatter` [INFO] [stdout] --> src/lib/src/build.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Error as FormatError, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib/src/build.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn execute_build(config: &Config, build_config: &BuildConfig) -> Result<(), BuildError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build_config` [INFO] [stdout] --> src/lib/src/build.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn execute_build(config: &Config, build_config: &BuildConfig) -> Result<(), BuildError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-apk-lib` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `BuildError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib/src/build.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Error for BuildError { [INFO] [stdout] | ^^^^^^^^^^ `BuildError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BuildError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/96cfc75584359ae7ad11cc45968059f29e7b44b7/library/core/src/error.rs:53:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib/src/build.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn execute_build(config: &Config, build_config: &BuildConfig) -> Result<(), BuildError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build_config` [INFO] [stdout] --> src/lib/src/build.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn execute_build(config: &Config, build_config: &BuildConfig) -> Result<(), BuildError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-apk-lib` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8939616e560115dc5fbbf6253472296a224956260f399456819c7f5965c97827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8939616e560115dc5fbbf6253472296a224956260f399456819c7f5965c97827", kill_on_drop: false }` [INFO] [stdout] 8939616e560115dc5fbbf6253472296a224956260f399456819c7f5965c97827