[INFO] fetching crate sonic-migrate 0.1.1... [INFO] testing sonic-migrate-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded clap v4.5.35 [INFO] [stderr] Downloaded clap_builder v4.5.35 [INFO] [stderr] Downloaded rustix v1.0.5 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6e9082c7612f9d845e2020d904cbe82d5c6494a98929868d61dbea63c08230e [INFO] running `Command { std: "docker" "start" "-a" "e6e9082c7612f9d845e2020d904cbe82d5c6494a98929868d61dbea63c08230e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6e9082c7612f9d845e2020d904cbe82d5c6494a98929868d61dbea63c08230e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e9082c7612f9d845e2020d904cbe82d5c6494a98929868d61dbea63c08230e", kill_on_drop: false }` [INFO] [stdout] e6e9082c7612f9d845e2020d904cbe82d5c6494a98929868d61dbea63c08230e [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89f90bb076f50141ab4466863a7c8af2cc8eb08854c6de8cc3b3a2aac7a8655b [INFO] running `Command { std: "docker" "start" "-a" "89f90bb076f50141ab4466863a7c8af2cc8eb08854c6de8cc3b3a2aac7a8655b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling anstream v0.6.18 [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 quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling console v0.15.11 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 24.71s [INFO] running `Command { std: "docker" "inspect" "89f90bb076f50141ab4466863a7c8af2cc8eb08854c6de8cc3b3a2aac7a8655b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89f90bb076f50141ab4466863a7c8af2cc8eb08854c6de8cc3b3a2aac7a8655b", kill_on_drop: false }` [INFO] [stdout] 89f90bb076f50141ab4466863a7c8af2cc8eb08854c6de8cc3b3a2aac7a8655b [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 225b029267d2701a6ba5ed695e8103933e1784a214fee712317de074b79d6c13 [INFO] running `Command { std: "docker" "start" "-a" "225b029267d2701a6ba5ed695e8103933e1784a214fee712317de074b79d6c13", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.94s [INFO] running `Command { std: "docker" "inspect" "225b029267d2701a6ba5ed695e8103933e1784a214fee712317de074b79d6c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225b029267d2701a6ba5ed695e8103933e1784a214fee712317de074b79d6c13", kill_on_drop: false }` [INFO] [stdout] 225b029267d2701a6ba5ed695e8103933e1784a214fee712317de074b79d6c13 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2265a8155d2dacc8b17cf7b7c319d3a3d262c047fe4833de5a65f4cf0873d88e [INFO] running `Command { std: "docker" "start" "-a" "2265a8155d2dacc8b17cf7b7c319d3a3d262c047fe4833de5a65f4cf0873d88e", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.09s [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_invalid_path ... ok [INFO] [stdout] test migration::tests::test_migration_dry_run ... ok [INFO] [stdout] test migration::tests::test_restore_backup ... ok [INFO] [stdout] test migration::tests::test_migration_mainnet ... ok [INFO] [stdout] test migration::tests::test_migration_actual ... 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" "2265a8155d2dacc8b17cf7b7c319d3a3d262c047fe4833de5a65f4cf0873d88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2265a8155d2dacc8b17cf7b7c319d3a3d262c047fe4833de5a65f4cf0873d88e", kill_on_drop: false }` [INFO] [stdout] 2265a8155d2dacc8b17cf7b7c319d3a3d262c047fe4833de5a65f4cf0873d88e