[INFO] fetching crate dadk-config 0.4.0... [INFO] checking dadk-config-0.4.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate dadk-config 0.4.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dadk-config 0.4.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c31bfabf3635c5cfeab22b37b18a4f39ae0bba63ff425d673ceca5c6e846f537 [INFO] running `Command { std: "docker" "start" "-a" "c31bfabf3635c5cfeab22b37b18a4f39ae0bba63ff425d673ceca5c6e846f537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c31bfabf3635c5cfeab22b37b18a4f39ae0bba63ff425d673ceca5c6e846f537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c31bfabf3635c5cfeab22b37b18a4f39ae0bba63ff425d673ceca5c6e846f537", kill_on_drop: false }` [INFO] [stdout] c31bfabf3635c5cfeab22b37b18a4f39ae0bba63ff425d673ceca5c6e846f537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 424490dfedeec5f4ea45efdf672252b6ad157456e6c5ecd3607b8123cd5c9744 [INFO] running `Command { std: "docker" "start" "-a" "424490dfedeec5f4ea45efdf672252b6ad157456e6c5ecd3607b8123cd5c9744", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [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.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking backtrace v0.3.75 [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_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] 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] [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] 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] 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] 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_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: 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] [stderr] error: could not compile `dadk-config` (test "test_user_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_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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dadk-config` (test "test_rootfs_config") due to 3 previous errors [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] 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] 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] [stderr] error: could not compile `dadk-config` (test "test_boot_config") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "424490dfedeec5f4ea45efdf672252b6ad157456e6c5ecd3607b8123cd5c9744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "424490dfedeec5f4ea45efdf672252b6ad157456e6c5ecd3607b8123cd5c9744", kill_on_drop: false }` [INFO] [stdout] 424490dfedeec5f4ea45efdf672252b6ad157456e6c5ecd3607b8123cd5c9744