[INFO] cloning repository https://github.com/2956661656/aliyun_content_moderation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2956661656/aliyun_content_moderation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2956661656%2Faliyun_content_moderation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2956661656%2Faliyun_content_moderation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 085ca3ea3aa01301d502a8e669a5351559ca2294 [INFO] testing 2956661656/aliyun_content_moderation against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2956661656%2Faliyun_content_moderation" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/2956661656/aliyun_content_moderation [INFO] finished tweaking git repo https://github.com/2956661656/aliyun_content_moderation [INFO] tweaked toml for git repo https://github.com/2956661656/aliyun_content_moderation written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/2956661656/aliyun_content_moderation on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/2956661656/aliyun_content_moderation 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-untagged v0.1.9 [INFO] [stderr] Downloaded config v0.15.18 [INFO] [stderr] Downloaded pest_generator v2.8.3 [INFO] [stderr] Downloaded rust-ini v0.21.3 [INFO] [stderr] Downloaded pest_derive v2.8.3 [INFO] [stderr] Downloaded pest_meta v2.8.3 [INFO] [stderr] Downloaded cc v1.2.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 423f69c94b2fc28e3c57f4f666ddf07735323c4f76ce7f959d01a68acbd79043 [INFO] running `Command { std: "docker" "start" "-a" "423f69c94b2fc28e3c57f4f666ddf07735323c4f76ce7f959d01a68acbd79043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "423f69c94b2fc28e3c57f4f666ddf07735323c4f76ce7f959d01a68acbd79043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423f69c94b2fc28e3c57f4f666ddf07735323c4f76ce7f959d01a68acbd79043", kill_on_drop: false }` [INFO] [stdout] 423f69c94b2fc28e3c57f4f666ddf07735323c4f76ce7f959d01a68acbd79043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9791e4c74bc7bca5b4a9d5807ca1fc7bf1bb80ec9b7654686afd43aed4331390 [INFO] running `Command { std: "docker" "start" "-a" "9791e4c74bc7bca5b4a9d5807ca1fc7bf1bb80ec9b7654686afd43aed4331390", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling compression-codecs v0.4.31 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.32 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling config v0.15.18 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling aliyun_content_moderation v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/client.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let signature = base64::encode(code_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "9791e4c74bc7bca5b4a9d5807ca1fc7bf1bb80ec9b7654686afd43aed4331390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9791e4c74bc7bca5b4a9d5807ca1fc7bf1bb80ec9b7654686afd43aed4331390", kill_on_drop: false }` [INFO] [stdout] 9791e4c74bc7bca5b4a9d5807ca1fc7bf1bb80ec9b7654686afd43aed4331390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fca60cdcf64cd5a689ed82287f7174e3649850fc9c9546f8cc2cbe5f57b385f [INFO] running `Command { std: "docker" "start" "-a" "0fca60cdcf64cd5a689ed82287f7174e3649850fc9c9546f8cc2cbe5f57b385f", kill_on_drop: false }` [INFO] [stderr] Compiling aliyun_content_moderation v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/client.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let signature = base64::encode(code_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/client.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let signature = base64::encode(code_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "0fca60cdcf64cd5a689ed82287f7174e3649850fc9c9546f8cc2cbe5f57b385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fca60cdcf64cd5a689ed82287f7174e3649850fc9c9546f8cc2cbe5f57b385f", kill_on_drop: false }` [INFO] [stdout] 0fca60cdcf64cd5a689ed82287f7174e3649850fc9c9546f8cc2cbe5f57b385f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e3c489c79558ed5cda93589dd56419be42e86e15a7a25e584bac9b0f30dad1f6 [INFO] running `Command { std: "docker" "start" "-a" "e3c489c79558ed5cda93589dd56419be42e86e15a7a25e584bac9b0f30dad1f6", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/client.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | let signature = base64::encode(code_bytes); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `aliyun_content_moderation` (lib) generated 1 warning [INFO] [stderr] warning: `aliyun_content_moderation` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aliyun_content_moderation-25beb1517641ed05) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_image_moderation ... FAILED [INFO] [stdout] test tests::test_text_moderation ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_image_moderation stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_image_moderation' (17) panicked at src/lib.rs:52:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: configuration file "config.toml" not found [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57cb298d5332 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57cb298d5332 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57cb298d5332 - std[3b51380354919863]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x57cb298d5332 - <::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x57cb298ed20a - ::fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x57cb298ed20a - core[27de1724e4349be2]::fmt::write [INFO] [stdout] 6: 0x57cb298dab26 - std[3b51380354919863]::io::default_write_fmt::> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57cb298dab26 - as std[3b51380354919863]::io::Write>::write_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x57cb298b1e2f - ::print [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x57cb298b1e2f - std[3b51380354919863]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x57cb298ccab9 - std[3b51380354919863]::panicking::default_hook [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x57cb28fce9fe - core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x57cb28fce9fe - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57cb298ccd22 - core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x57cb298ccd22 - std[3b51380354919863]::panicking::panic_with_hook [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x57cb298b1ee8 - std[3b51380354919863]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x57cb298a6a29 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x57cb298b2ffd - __rustc[d79c0ace40940972]::rust_begin_unwind [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x57cb298ed94c - core[27de1724e4349be2]::panicking::panic_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x57cb298ed6c2 - core[27de1724e4349be2]::result::unwrap_failed [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x57cb28fb72db - >::unwrap [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x57cb28fb72db - aliyun_content_moderation[2780450c6e33b7f4]::tests::test_image_moderation::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:52:14 [INFO] [stdout] 22: 0x57cb28fa5462 - > as core[27de1724e4349be2]::future::future::Future>::poll [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x57cb28fa54dd - >> as core[27de1724e4349be2]::future::future::Future>::poll [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x57cb28f91cbd - ::block_on::>>>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 25: 0x57cb28f91bbb - tokio[6930e99086f268c4]::task::coop::with_budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 26: 0x57cb28f91bbb - tokio[6930e99086f268c4]::task::coop::budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 27: 0x57cb28f91bbb - ::block_on::>>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 28: 0x57cb28f8e530 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 29: 0x57cb28f90f8d - ::block_on::>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 30: 0x57cb28f90284 - ::enter::<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 31: 0x57cb28fa941b - >::set::<::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>)> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x57cb28fa39e9 - tokio[6930e99086f268c4]::runtime::context::set_scheduler::<(alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:38 [INFO] [stdout] 33: 0x57cb28fa0412 - >::try_with::, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>)> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/local.rs:513:12 [INFO] [stdout] 34: 0x57cb28f9ff9e - >::with::, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>)> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/local.rs:477:20 [INFO] [stdout] 35: 0x57cb28fa23fd - tokio[6930e99086f268c4]::runtime::context::set_scheduler::<(alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:17 [INFO] [stdout] 36: 0x57cb28f8f5d0 - ::enter::<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 37: 0x57cb28f8f8c6 - ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 38: 0x57cb28f8fe90 - ::block_on::>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 39: 0x57cb28fac6e3 - tokio[6930e99086f268c4]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x57cb28f8e061 - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 41: 0x57cb28f94cf4 - ::block_on_inner::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 42: 0x57cb28f94ebc - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 43: 0x57cb28fb9443 - aliyun_content_moderation[2780450c6e33b7f4]::tests::test_image_moderation [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:64:41 [INFO] [stdout] 44: 0x57cb28fb6927 - aliyun_content_moderation[2780450c6e33b7f4]::tests::test_image_moderation::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:47:37 [INFO] [stdout] 45: 0x57cb28fb02a6 - >::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x57cb28fc2dab - core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x57cb28fc2dab - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x57cb28fcf60a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x57cb28fcf60a - as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 50: 0x57cb28fcf60a - std[3b51380354919863]::panicking::catch_unwind::do_call::, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40 [INFO] [stdout] 51: 0x57cb28fcf60a - std[3b51380354919863]::panicking::catch_unwind::, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19 [INFO] [stdout] 52: 0x57cb28fcf60a - std[3b51380354919863]::panic::catch_unwind::, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x57cb28fcf60a - test[182b2e79ecd7bbd9]::run_test_in_process [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x57cb28fcf60a - test[182b2e79ecd7bbd9]::run_test::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x57cb28fcabb4 - test[182b2e79ecd7bbd9]::run_test::{closure#1} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x57cb28fcabb4 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 57: 0x57cb28fd2102 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 58: 0x57cb28fd2102 - ::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 59: 0x57cb28fd2102 - std[3b51380354919863]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40 [INFO] [stdout] 60: 0x57cb28fd2102 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19 [INFO] [stdout] 61: 0x57cb28fd2102 - std[3b51380354919863]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x57cb28fd2102 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 63: 0x57cb28fd2102 - ::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x57cb298d483f - + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 65: 0x57cb298d483f - ::new::thread_start [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 66: 0x7122d548eaa4 - [INFO] [stdout] 67: 0x7122d551ba64 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_text_moderation stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_text_moderation' (18) panicked at src/lib.rs:32:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: configuration file "config.toml" not found [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57cb298d5332 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57cb298d5332 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57cb298d5332 - std[3b51380354919863]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x57cb298d5332 - <::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x57cb298ed20a - ::fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x57cb298ed20a - core[27de1724e4349be2]::fmt::write [INFO] [stdout] 6: 0x57cb298dab26 - std[3b51380354919863]::io::default_write_fmt::> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57cb298dab26 - as std[3b51380354919863]::io::Write>::write_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x57cb298b1e2f - ::print [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x57cb298b1e2f - std[3b51380354919863]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x57cb298ccab9 - std[3b51380354919863]::panicking::default_hook [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x57cb28fce9fe - core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x57cb28fce9fe - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57cb298ccd22 - core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x57cb298ccd22 - std[3b51380354919863]::panicking::panic_with_hook [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x57cb298b1ee8 - std[3b51380354919863]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x57cb298a6a29 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x57cb298b2ffd - __rustc[d79c0ace40940972]::rust_begin_unwind [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x57cb298ed94c - core[27de1724e4349be2]::panicking::panic_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x57cb298ed6c2 - core[27de1724e4349be2]::result::unwrap_failed [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x57cb28fb6b9b - >::unwrap [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x57cb28fb6b9b - aliyun_content_moderation[2780450c6e33b7f4]::tests::test_text_moderation::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:32:14 [INFO] [stdout] 22: 0x57cb28fa5462 - > as core[27de1724e4349be2]::future::future::Future>::poll [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x57cb28fa54dd - >> as core[27de1724e4349be2]::future::future::Future>::poll [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x57cb28f91cbd - ::block_on::>>>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 25: 0x57cb28f91bbb - tokio[6930e99086f268c4]::task::coop::with_budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 26: 0x57cb28f91bbb - tokio[6930e99086f268c4]::task::coop::budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 27: 0x57cb28f91bbb - ::block_on::>>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 28: 0x57cb28f8e530 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 29: 0x57cb28f90f8d - ::block_on::>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 30: 0x57cb28f90284 - ::enter::<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 31: 0x57cb28fa941b - >::set::<::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>)> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x57cb28fa39e9 - tokio[6930e99086f268c4]::runtime::context::set_scheduler::<(alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:38 [INFO] [stdout] 33: 0x57cb28fa0412 - >::try_with::, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>)> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/local.rs:513:12 [INFO] [stdout] 34: 0x57cb28f9ff9e - >::with::, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>)> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/local.rs:477:20 [INFO] [stdout] 35: 0x57cb28fa23fd - tokio[6930e99086f268c4]::runtime::context::set_scheduler::<(alloc[a57f19327c0ad893]::boxed::Box, core[27de1724e4349be2]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:17 [INFO] [stdout] 36: 0x57cb28f8f5d0 - ::enter::<::block_on>>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 37: 0x57cb28f8f8c6 - ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 38: 0x57cb28f8fe90 - ::block_on::>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 39: 0x57cb28fac6e3 - tokio[6930e99086f268c4]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x57cb28f8e061 - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 41: 0x57cb28f94cf4 - ::block_on_inner::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 42: 0x57cb28f94ebc - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 43: 0x57cb28fb9283 - aliyun_content_moderation[2780450c6e33b7f4]::tests::test_text_moderation [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:43:41 [INFO] [stdout] 44: 0x57cb28fb68f7 - aliyun_content_moderation[2780450c6e33b7f4]::tests::test_text_moderation::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:27:36 [INFO] [stdout] 45: 0x57cb28fb0266 - >::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x57cb28fc2dab - core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x57cb28fc2dab - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x57cb28fcf60a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x57cb28fcf60a - as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 50: 0x57cb28fcf60a - std[3b51380354919863]::panicking::catch_unwind::do_call::, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40 [INFO] [stdout] 51: 0x57cb28fcf60a - std[3b51380354919863]::panicking::catch_unwind::, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19 [INFO] [stdout] 52: 0x57cb28fcf60a - std[3b51380354919863]::panic::catch_unwind::, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x57cb28fcf60a - test[182b2e79ecd7bbd9]::run_test_in_process [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x57cb28fcf60a - test[182b2e79ecd7bbd9]::run_test::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x57cb28fcabb4 - test[182b2e79ecd7bbd9]::run_test::{closure#1} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x57cb28fcabb4 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 57: 0x57cb28fd2102 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 58: 0x57cb28fd2102 - ::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 59: 0x57cb28fd2102 - std[3b51380354919863]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40 [INFO] [stdout] 60: 0x57cb28fd2102 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19 [INFO] [stdout] 61: 0x57cb28fd2102 - std[3b51380354919863]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x57cb28fd2102 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 63: 0x57cb28fd2102 - ::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x57cb298d483f - + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 65: 0x57cb298d483f - ::new::thread_start [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 66: 0x7122d548eaa4 - [INFO] [stdout] 67: 0x7122d551ba64 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_image_moderation [INFO] [stdout] tests::test_text_moderation [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e3c489c79558ed5cda93589dd56419be42e86e15a7a25e584bac9b0f30dad1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c489c79558ed5cda93589dd56419be42e86e15a7a25e584bac9b0f30dad1f6", kill_on_drop: false }` [INFO] [stdout] e3c489c79558ed5cda93589dd56419be42e86e15a7a25e584bac9b0f30dad1f6