[INFO] cloning repository https://github.com/walalal/axum-sea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/walalal/axum-sea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalalal%2Faxum-sea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalalal%2Faxum-sea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc621129afe3c072b2e7f0683373284171a2278b [INFO] testing walalal/axum-sea against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalalal%2Faxum-sea" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/walalal/axum-sea [INFO] finished tweaking git repo https://github.com/walalal/axum-sea [INFO] tweaked toml for git repo https://github.com/walalal/axum-sea written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/walalal/axum-sea on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/walalal/axum-sea 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d80248502715883a7677032e1bb2ef99d28108115189a7ed1c3bb7b593112bf [INFO] running `Command { std: "docker" "start" "-a" "5d80248502715883a7677032e1bb2ef99d28108115189a7ed1c3bb7b593112bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d80248502715883a7677032e1bb2ef99d28108115189a7ed1c3bb7b593112bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d80248502715883a7677032e1bb2ef99d28108115189a7ed1c3bb7b593112bf", kill_on_drop: false }` [INFO] [stdout] 5d80248502715883a7677032e1bb2ef99d28108115189a7ed1c3bb7b593112bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33713257897bad73582a3b321e4301bf86fd0c53252283abbd99b973a77f872b [INFO] running `Command { std: "docker" "start" "-a" "33713257897bad73582a3b321e4301bf86fd0c53252283abbd99b973a77f872b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling strum v0.28.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Compiling pluralizer v0.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling sea-orm-macros v2.0.0-rc.38 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling sea-query-derive v1.0.0-rc.12 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling sea-query v1.0.0-rc.33 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sea-orm-cli v2.0.0-rc.38 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-sqlx v0.8.0-rc.15 [INFO] [stderr] Compiling sea-schema v0.17.0-rc.17 [INFO] [stderr] Compiling sea-orm v2.0.0-rc.38 [INFO] [stderr] Compiling sea-orm-migration v2.0.0-rc.38 [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 11 | println!("开始迁移"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 29 | [INFO] [stdout] 30 | / manager [INFO] [stdout] 31 | | .drop_table(Table::drop().table("post").to_owned()) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `manager` is never read [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | manager [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `manager` is never read [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | manager [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling axum-sea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Migrator::up(&db, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = Migrator::up(&db, None).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "33713257897bad73582a3b321e4301bf86fd0c53252283abbd99b973a77f872b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33713257897bad73582a3b321e4301bf86fd0c53252283abbd99b973a77f872b", kill_on_drop: false }` [INFO] [stdout] 33713257897bad73582a3b321e4301bf86fd0c53252283abbd99b973a77f872b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cd5745f3d9b1239dddb843524b0d6bcecc05aadb8d00166ef28d3a00657b989 [INFO] running `Command { std: "docker" "start" "-a" "0cd5745f3d9b1239dddb843524b0d6bcecc05aadb8d00166ef28d3a00657b989", kill_on_drop: false }` [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 11 | println!("开始迁移"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 29 | [INFO] [stdout] 30 | / manager [INFO] [stdout] 31 | | .drop_table(Table::drop().table("post").to_owned()) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `manager` is never read [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | manager [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `manager` is never read [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | manager [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling axum-sea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Migrator::up(&db, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = Migrator::up(&db, None).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0cd5745f3d9b1239dddb843524b0d6bcecc05aadb8d00166ef28d3a00657b989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd5745f3d9b1239dddb843524b0d6bcecc05aadb8d00166ef28d3a00657b989", kill_on_drop: false }` [INFO] [stdout] 0cd5745f3d9b1239dddb843524b0d6bcecc05aadb8d00166ef28d3a00657b989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e3f04d7c6c9cc48d5e984ef04229cb9dde2b1856e9e5eabf14e59858647e4cf [INFO] running `Command { std: "docker" "start" "-a" "5e3f04d7c6c9cc48d5e984ef04229cb9dde2b1856e9e5eabf14e59858647e4cf", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> migration/src/m20220101_000001_create_table.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 11 | println!("开始迁移"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> migration/src/m20220101_000001_create_table.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 28 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 29 | [INFO] [stderr] 30 | / manager [INFO] [stderr] 31 | | .drop_table(Table::drop().table("post").to_owned()) [INFO] [stderr] 32 | | .await [INFO] [stderr] | |__________________^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: value captured by `manager` is never read [INFO] [stderr] --> migration/src/m20220101_000001_create_table.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | manager [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `manager` [INFO] [stderr] --> migration/src/m20220101_000001_create_table.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value captured by `manager` is never read [INFO] [stderr] --> migration/src/m20220101_000001_create_table.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | manager [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `manager` [INFO] [stderr] --> migration/src/m20220101_000001_create_table.rs:26:26 [INFO] [stderr] | [INFO] [stderr] 26 | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stderr] [INFO] [stderr] warning: `migration` (lib) generated 6 warnings (run `cargo fix --lib -p migration` to apply 2 suggestions) [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Migrator::up(&db, None).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 16 | let _ = Migrator::up(&db, None).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `axum-sea` (bin "axum-sea" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_sea-ddbaac81e4418605) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e3f04d7c6c9cc48d5e984ef04229cb9dde2b1856e9e5eabf14e59858647e4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3f04d7c6c9cc48d5e984ef04229cb9dde2b1856e9e5eabf14e59858647e4cf", kill_on_drop: false }` [INFO] [stdout] 5e3f04d7c6c9cc48d5e984ef04229cb9dde2b1856e9e5eabf14e59858647e4cf