[INFO] fetching crate sonic-migrate 0.1.1... [INFO] testing sonic-migrate-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate sonic-migrate 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sonic-migrate 0.1.1 [INFO] finished tweaking crates.io crate sonic-migrate 0.1.1 [INFO] tweaked toml for crates.io crate sonic-migrate 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sonic-migrate 0.1.1 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] crate crates.io crate sonic-migrate 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.35 [INFO] [stderr] Downloaded clap_builder v4.5.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0101fc0a11c7492cec6ee44d5de2072af52ac6e196d5de7707a958b95714fa69 [INFO] running `Command { std: "docker" "start" "-a" "0101fc0a11c7492cec6ee44d5de2072af52ac6e196d5de7707a958b95714fa69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0101fc0a11c7492cec6ee44d5de2072af52ac6e196d5de7707a958b95714fa69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0101fc0a11c7492cec6ee44d5de2072af52ac6e196d5de7707a958b95714fa69", kill_on_drop: false }` [INFO] [stdout] 0101fc0a11c7492cec6ee44d5de2072af52ac6e196d5de7707a958b95714fa69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bcf22599cad9c8e2afdc7f50a65d23bf580180ded665e711e7919e47b5c03d8 [INFO] running `Command { std: "docker" "start" "-a" "0bcf22599cad9c8e2afdc7f50a65d23bf580180ded665e711e7919e47b5c03d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling sonic-migrate v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/migration.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn map_cluster_to_soon(cluster: &str, network: Option) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list_networks` is never read [INFO] [stdout] --> src/cli.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub list_networks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Provider` is never constructed [INFO] [stdout] --> src/migration.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Programs` is never constructed [INFO] [stdout] --> src/migration.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Programs { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnchorToml` is never constructed [INFO] [stdout] --> src/migration.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct AnchorToml { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.01s [INFO] running `Command { std: "docker" "inspect" "0bcf22599cad9c8e2afdc7f50a65d23bf580180ded665e711e7919e47b5c03d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcf22599cad9c8e2afdc7f50a65d23bf580180ded665e711e7919e47b5c03d8", kill_on_drop: false }` [INFO] [stdout] 0bcf22599cad9c8e2afdc7f50a65d23bf580180ded665e711e7919e47b5c03d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a10c9af1673c46ed1c4a689a8f886fd9de11fd312afe669fc98790b2231f8c6 [INFO] running `Command { std: "docker" "start" "-a" "1a10c9af1673c46ed1c4a689a8f886fd9de11fd312afe669fc98790b2231f8c6", kill_on_drop: false }` [INFO] [stderr] Compiling sonic-migrate v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/migration.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn map_cluster_to_soon(cluster: &str, network: Option) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list_networks` is never read [INFO] [stdout] --> src/cli.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub list_networks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Provider` is never constructed [INFO] [stdout] --> src/migration.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Programs` is never constructed [INFO] [stdout] --> src/migration.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Programs { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnchorToml` is never constructed [INFO] [stdout] --> src/migration.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct AnchorToml { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "1a10c9af1673c46ed1c4a689a8f886fd9de11fd312afe669fc98790b2231f8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a10c9af1673c46ed1c4a689a8f886fd9de11fd312afe669fc98790b2231f8c6", kill_on_drop: false }` [INFO] [stdout] 1a10c9af1673c46ed1c4a689a8f886fd9de11fd312afe669fc98790b2231f8c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 756714f9b6a1298c7c8990986ef2acf7c407a8c9b7273470040d69aed87ca022 [INFO] running `Command { std: "docker" "start" "-a" "756714f9b6a1298c7c8990986ef2acf7c407a8c9b7273470040d69aed87ca022", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cluster` [INFO] [stderr] --> src/migration.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | fn map_cluster_to_soon(cluster: &str, network: Option) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `list_networks` is never read [INFO] [stderr] --> src/cli.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | pub list_networks: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Provider` is never constructed [INFO] [stderr] --> src/migration.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct Provider { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Programs` is never constructed [INFO] [stderr] --> src/migration.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | struct Programs { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AnchorToml` is never constructed [INFO] [stderr] --> src/migration.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | struct AnchorToml { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sonic-migrate` (bin "sonic-migrate" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sonic_migrate-f9909cc4b40777e4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test migration::tests::test_migration_dry_run ... ok [INFO] [stdout] test migration::tests::test_migration_actual ... ok [INFO] [stdout] test migration::tests::test_migration_mainnet ... ok [INFO] [stdout] test migration::tests::test_restore_backup ... ok [INFO] [stdout] test migration::tests::test_invalid_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "756714f9b6a1298c7c8990986ef2acf7c407a8c9b7273470040d69aed87ca022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756714f9b6a1298c7c8990986ef2acf7c407a8c9b7273470040d69aed87ca022", kill_on_drop: false }` [INFO] [stdout] 756714f9b6a1298c7c8990986ef2acf7c407a8c9b7273470040d69aed87ca022