[INFO] fetching crate dnspod-lib 0.1.11... [INFO] testing dnspod-lib-0.1.11 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate dnspod-lib 0.1.11 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate dnspod-lib 0.1.11 [INFO] finished tweaking crates.io crate dnspod-lib 0.1.11 [INFO] tweaked toml for crates.io crate dnspod-lib 0.1.11 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dnspod-lib 0.1.11 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e4c116449f05a4c8b7c923ab5697bfe0b6bbfbe8ec7c6e9a8151bf09a1b506e [INFO] running `Command { std: "docker" "start" "-a" "3e4c116449f05a4c8b7c923ab5697bfe0b6bbfbe8ec7c6e9a8151bf09a1b506e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e4c116449f05a4c8b7c923ab5697bfe0b6bbfbe8ec7c6e9a8151bf09a1b506e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4c116449f05a4c8b7c923ab5697bfe0b6bbfbe8ec7c6e9a8151bf09a1b506e", kill_on_drop: false }` [INFO] [stdout] 3e4c116449f05a4c8b7c923ab5697bfe0b6bbfbe8ec7c6e9a8151bf09a1b506e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca0371d2820fe8b543778eb2751a9cf4de4a753e4140038aaa765b55ff27fec7 [INFO] running `Command { std: "docker" "start" "-a" "ca0371d2820fe8b543778eb2751a9cf4de4a753e4140038aaa765b55ff27fec7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling hmac-sha256 v1.1.12 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling literal-enum v0.1.6 [INFO] [stderr] Compiling dnspod-lib v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::data_types` [INFO] [stdout] --> src/action.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::data_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::consts` [INFO] [stdout] --> src/action.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::consts; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "ca0371d2820fe8b543778eb2751a9cf4de4a753e4140038aaa765b55ff27fec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0371d2820fe8b543778eb2751a9cf4de4a753e4140038aaa765b55ff27fec7", kill_on_drop: false }` [INFO] [stdout] ca0371d2820fe8b543778eb2751a9cf4de4a753e4140038aaa765b55ff27fec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7edd3423ab33f85c6ebb2167256ae291486b56a306868782772b9c0d258ded71 [INFO] running `Command { std: "docker" "start" "-a" "7edd3423ab33f85c6ebb2167256ae291486b56a306868782772b9c0d258ded71", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling literal-enum v0.1.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling dnspod-lib v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::data_types` [INFO] [stdout] --> src/action.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::data_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::consts` [INFO] [stdout] --> src/action.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::consts; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: unused import: `crate::consts` [INFO] [stdout] --> src/action.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::consts; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/data_types.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | let dt = Utc.datetime_from_str(s, FORMAT).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `A` is never constructed [INFO] [stdout] --> src/action.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | struct A; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `B` is never constructed [INFO] [stdout] --> src/action.rs:382:16 [INFO] [stdout] | [INFO] [stdout] 382 | struct B; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DescribeDomain` is never constructed [INFO] [stdout] --> src/action.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | pub struct DescribeDomain { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomAction` is never constructed [INFO] [stdout] --> src/action.rs:397:20 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct CustomAction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hello` is never constructed [INFO] [stdout] --> src/macros/mod.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 368 | struct Hello; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_meta_struct_impl` which comes from the expansion of the macro `custom_meta_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/macros/mod.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 369 | struct World; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_meta_struct_impl` which comes from the expansion of the macro `custom_meta_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestA` is never constructed [INFO] [stdout] --> src/macros/mod.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | struct TestA; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_meta_struct_impl` which comes from the expansion of the macro `custom_meta_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "7edd3423ab33f85c6ebb2167256ae291486b56a306868782772b9c0d258ded71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edd3423ab33f85c6ebb2167256ae291486b56a306868782772b9c0d258ded71", kill_on_drop: false }` [INFO] [stdout] 7edd3423ab33f85c6ebb2167256ae291486b56a306868782772b9c0d258ded71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9508a24bd8e44cec2ef3fe847aba87c2b3a8f94ef271d58f4e9ef4197dc528b [INFO] running `Command { std: "docker" "start" "-a" "a9508a24bd8e44cec2ef3fe847aba87c2b3a8f94ef271d58f4e9ef4197dc528b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::data_types` [INFO] [stderr] --> src/action.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | pub use crate::data_types; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::consts` [INFO] [stderr] --> src/action.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | pub use crate::consts; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dnspod-lib` (lib) generated 2 warnings (run `cargo fix --lib -p dnspod-lib` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `crate::consts` [INFO] [stderr] --> src/action.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | pub use crate::consts; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stderr] --> src/data_types.rs:224:18 [INFO] [stderr] | [INFO] [stderr] 224 | let dt = Utc.datetime_from_str(s, FORMAT).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `A` is never constructed [INFO] [stderr] --> src/action.rs:380:16 [INFO] [stderr] | [INFO] [stderr] 380 | struct A; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `B` is never constructed [INFO] [stderr] --> src/action.rs:382:16 [INFO] [stderr] | [INFO] [stderr] 382 | struct B; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `DescribeDomain` is never constructed [INFO] [stderr] --> src/action.rs:389:20 [INFO] [stderr] | [INFO] [stderr] 389 | pub struct DescribeDomain { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `CustomAction` is never constructed [INFO] [stderr] --> src/action.rs:397:20 [INFO] [stderr] | [INFO] [stderr] 397 | pub struct CustomAction { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::impl_define_action_list` which comes from the expansion of the macro `crate::define_action_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `Hello` is never constructed [INFO] [stderr] --> src/macros/mod.rs:368:16 [INFO] [stderr] | [INFO] [stderr] 368 | struct Hello; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_meta_struct_impl` which comes from the expansion of the macro `custom_meta_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `World` is never constructed [INFO] [stderr] --> src/macros/mod.rs:369:16 [INFO] [stderr] | [INFO] [stderr] 369 | struct World; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_meta_struct_impl` which comes from the expansion of the macro `custom_meta_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `TestA` is never constructed [INFO] [stderr] --> src/macros/mod.rs:384:16 [INFO] [stderr] | [INFO] [stderr] 384 | struct TestA; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_meta_struct_impl` which comes from the expansion of the macro `custom_meta_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dnspod-lib` (lib test) generated 9 warnings (run `cargo fix --lib -p dnspod-lib --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dnspod_lib-4e25cc268bfa33a6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test data_types::test ... ok [INFO] [stdout] test data_types::should_panic - should panic ... ok [INFO] [stdout] test macros::test2::test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- macros::test2::test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'macros::test2::test' (18) panicked at src/macros/mod.rs:518:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "struct A;" [INFO] [stdout] right: "struct A ;" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e1e94874472 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e1e94874472 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e1e94874472 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e1e94874472 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e1e948973af - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e1e948973af - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e1e94861363 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e1e94861363 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e1e94874a82 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e1e9485f9bc - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e1e9485f834 - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e1e947cb7ee - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5e1e947cb7ee - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e1e94860613 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5e1e94860613 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e1e9487488a - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e1e948747e9 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e1e948602bd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e1e9489e370 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e1e9489e460 - core::panicking::assert_failed_inner::hb61150608d983f16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x5e1e947b5db0 - core::panicking::assert_failed::h545acb7c5a237de6 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x5e1e947b7ea0 - dnspod_lib::macros::test2::test::h07a14d2f36fd437b [INFO] [stdout] at /opt/rustwide/workdir/src/macros/mod.rs:518:9 [INFO] [stdout] 22: 0x5e1e947b8307 - dnspod_lib::macros::test2::test::{{closure}}::h864ab4ba8c586437 [INFO] [stdout] at /opt/rustwide/workdir/src/macros/mod.rs:473:14 [INFO] [stdout] 23: 0x5e1e947bc8a6 - core::ops::function::FnOnce::call_once::h2d6908b74e4833cb [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5e1e947cc86b - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5e1e947cc86b - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5e1e947ca4d5 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5e1e947ca4d5 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5e1e947ca4d5 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5e1e947ca4d5 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5e1e947ca4d5 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e1e947ca4d5 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5e1e947ca4d5 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5e1e947f13e4 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5e1e947f13e4 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5e1e947d7ffa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5e1e947d7ffa - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5e1e947d7ffa - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5e1e947d7ffa - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5e1e947d7ffa - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5e1e947d7ffa - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5e1e947d7ffa - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5e1e9484b10f - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5e1e9484b10f - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7fe40894faa4 - [INFO] [stdout] 45: 0x7fe4089dca34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] macros::test2::test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "a9508a24bd8e44cec2ef3fe847aba87c2b3a8f94ef271d58f4e9ef4197dc528b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9508a24bd8e44cec2ef3fe847aba87c2b3a8f94ef271d58f4e9ef4197dc528b", kill_on_drop: false }` [INFO] [stdout] a9508a24bd8e44cec2ef3fe847aba87c2b3a8f94ef271d58f4e9ef4197dc528b