[INFO] fetching crate sonic-migrate 0.1.1... [INFO] testing sonic-migrate-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sonic-migrate 0.1.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sonic-migrate 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99e1e0c9bda402d94868a9453395da185e8b3a6f62ec050aef49055ad8476c2 [INFO] running `Command { std: "docker" "start" "-a" "a99e1e0c9bda402d94868a9453395da185e8b3a6f62ec050aef49055ad8476c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99e1e0c9bda402d94868a9453395da185e8b3a6f62ec050aef49055ad8476c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99e1e0c9bda402d94868a9453395da185e8b3a6f62ec050aef49055ad8476c2", kill_on_drop: false }` [INFO] [stdout] a99e1e0c9bda402d94868a9453395da185e8b3a6f62ec050aef49055ad8476c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c660b477d05ce5d7a3fd44ec33448a2491a126162e21941440e68ba0feb4935 [INFO] running `Command { std: "docker" "start" "-a" "5c660b477d05ce5d7a3fd44ec33448a2491a126162e21941440e68ba0feb4935", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling bitflags v2.9.0 [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 quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [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 toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned 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 28.05s [INFO] running `Command { std: "docker" "inspect" "5c660b477d05ce5d7a3fd44ec33448a2491a126162e21941440e68ba0feb4935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c660b477d05ce5d7a3fd44ec33448a2491a126162e21941440e68ba0feb4935", kill_on_drop: false }` [INFO] [stdout] 5c660b477d05ce5d7a3fd44ec33448a2491a126162e21941440e68ba0feb4935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe1edfac650113674677dbb55b0b1d84fa7bee0833ae6e600049d8436d7be94 [INFO] running `Command { std: "docker" "start" "-a" "ffe1edfac650113674677dbb55b0b1d84fa7bee0833ae6e600049d8436d7be94", 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.75s [INFO] running `Command { std: "docker" "inspect" "ffe1edfac650113674677dbb55b0b1d84fa7bee0833ae6e600049d8436d7be94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe1edfac650113674677dbb55b0b1d84fa7bee0833ae6e600049d8436d7be94", kill_on_drop: false }` [INFO] [stdout] ffe1edfac650113674677dbb55b0b1d84fa7bee0833ae6e600049d8436d7be94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 587b085b952d7c6d9bd3373526cbbbbff7a208ad747f9bd051ecbbd82a38ecc1 [INFO] running `Command { std: "docker" "start" "-a" "587b085b952d7c6d9bd3373526cbbbbff7a208ad747f9bd051ecbbd82a38ecc1", 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_migration_mainnet ... ok [INFO] [stdout] test migration::tests::test_restore_backup ... 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.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "587b085b952d7c6d9bd3373526cbbbbff7a208ad747f9bd051ecbbd82a38ecc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587b085b952d7c6d9bd3373526cbbbbff7a208ad747f9bd051ecbbd82a38ecc1", kill_on_drop: false }` [INFO] [stdout] 587b085b952d7c6d9bd3373526cbbbbff7a208ad747f9bd051ecbbd82a38ecc1