[INFO] fetching crate dadk-config 0.4.0... [INFO] checking dadk-config-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dadk-config 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate dadk-config 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dadk-config 0.4.0 [INFO] tweaked toml for crates.io crate dadk-config 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dadk-config 0.4.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.5) [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] fb14c10b2df6cf4901459b0ec07c2f2deb909ac991893e310d1e61b72fed7626 [INFO] running `Command { std: "docker" "start" "-a" "fb14c10b2df6cf4901459b0ec07c2f2deb909ac991893e310d1e61b72fed7626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb14c10b2df6cf4901459b0ec07c2f2deb909ac991893e310d1e61b72fed7626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb14c10b2df6cf4901459b0ec07c2f2deb909ac991893e310d1e61b72fed7626", kill_on_drop: false }` [INFO] [stdout] fb14c10b2df6cf4901459b0ec07c2f2deb909ac991893e310d1e61b72fed7626 [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] f19a1ad9ed20ee2c564b037bcead67eab031c61fdf9c9e064f6c036cff255fc6 [INFO] running `Command { std: "docker" "start" "-a" "f19a1ad9ed20ee2c564b037bcead67eab031c61fdf9c9e064f6c036cff255fc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking dadk-config v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/test_user_config.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / fn test_parse_dadk_user_config(ctx: &mut DadkConfigTestContext) { [INFO] [stdout] 24 | | let config_file = ctx.templates_dir().join(USER_CONFIG_LOCAL_FILE); [INFO] [stdout] 25 | | assert!(config_file.exists()); [INFO] [stdout] 26 | | assert!(config_file.is_file()); [INFO] [stdout] ... | [INFO] [stdout] 76 | | assert_eq!(user_config, expected_user_config) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_base` [INFO] [stdout] --> tests/test_user_config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_base` [INFO] [stdout] --> tests/test_user_config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/test_boot_config.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / fn test_load_boot_config_template(ctx: &DadkConfigTestContext) { [INFO] [stdout] 13 | | let boot_config_path = ctx.templates_dir().join(BOOT_CONFIG_FILE_NAME); [INFO] [stdout] 14 | | assert_eq!(boot_config_path.exists(), true); [INFO] [stdout] 15 | | assert_eq!(boot_config_path.is_file(), true); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_base` [INFO] [stdout] --> tests/test_boot_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/test_dadk_manifest.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / fn test_load_dadk_manifest_template(ctx: &DadkConfigTestContext) { [INFO] [stdout] 13 | | let manifest_path = ctx.templates_dir().join(DADK_MANIFEST_FILE_NAME); [INFO] [stdout] 14 | | assert_eq!(manifest_path.exists(), true); [INFO] [stdout] 15 | | assert_eq!(manifest_path.is_file(), true); [INFO] [stdout] ... | [INFO] [stdout] 18 | | assert_eq!(manifest.used_default, false); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_base` [INFO] [stdout] --> tests/test_dadk_manifest.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_base` [INFO] [stdout] --> tests/test_dadk_manifest.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_base` [INFO] [stdout] --> tests/test_boot_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/test_rootfs_config.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / fn test_load_rootfs_manifest_template(ctx: &DadkConfigTestContext) { [INFO] [stdout] 16 | | let rootfs_manifest_path = ctx.templates_dir().join(ROOTFS_CONFIG_FILE_NAME); [INFO] [stdout] 17 | | assert_eq!(rootfs_manifest_path.exists(), true); [INFO] [stdout] 18 | | assert_eq!(rootfs_manifest_path.is_file(), true); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_base` [INFO] [stdout] --> tests/test_rootfs_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dadk-config` (test "test_user_config") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_base` [INFO] [stdout] --> tests/test_rootfs_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_base::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_base` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_base`, use `cargo add test_base` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dadk-config` (test "test_boot_config") due to 3 previous errors [INFO] [stderr] error: could not compile `dadk-config` (test "test_dadk_manifest") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dadk-config` (test "test_rootfs_config") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f19a1ad9ed20ee2c564b037bcead67eab031c61fdf9c9e064f6c036cff255fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19a1ad9ed20ee2c564b037bcead67eab031c61fdf9c9e064f6c036cff255fc6", kill_on_drop: false }` [INFO] [stdout] f19a1ad9ed20ee2c564b037bcead67eab031c61fdf9c9e064f6c036cff255fc6