[INFO] fetching crate dadk-config 0.4.0... [INFO] checking dadk-config-0.4.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate dadk-config 0.4.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dadk-config 0.4.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f28dbc93d5cfb73a7b4d953fd088b14e8ceabbbdd7855181c2cab3aa3bedc58d [INFO] running `Command { std: "docker" "start" "-a" "f28dbc93d5cfb73a7b4d953fd088b14e8ceabbbdd7855181c2cab3aa3bedc58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f28dbc93d5cfb73a7b4d953fd088b14e8ceabbbdd7855181c2cab3aa3bedc58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28dbc93d5cfb73a7b4d953fd088b14e8ceabbbdd7855181c2cab3aa3bedc58d", kill_on_drop: false }` [INFO] [stdout] f28dbc93d5cfb73a7b4d953fd088b14e8ceabbbdd7855181c2cab3aa3bedc58d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19b11404f11237b5f50f055ef4a528793fa5df3980a1b6fc7dcf873cc43af81c [INFO] running `Command { std: "docker" "start" "-a" "19b11404f11237b5f50f055ef4a528793fa5df3980a1b6fc7dcf873cc43af81c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking env_logger v0.11.8 [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: 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_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[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] [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[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_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] [stderr] error: could not compile `dadk-config` (test "test_boot_config") 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] [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] [stderr] error: could not compile `dadk-config` (test "test_rootfs_config") due to 3 previous errors [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] 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] 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_dadk_manifest") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "19b11404f11237b5f50f055ef4a528793fa5df3980a1b6fc7dcf873cc43af81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b11404f11237b5f50f055ef4a528793fa5df3980a1b6fc7dcf873cc43af81c", kill_on_drop: false }` [INFO] [stdout] 19b11404f11237b5f50f055ef4a528793fa5df3980a1b6fc7dcf873cc43af81c