[INFO] fetching crate bubble-macro 0.1.5... [INFO] testing bubble-macro-0.1.5 against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] extracting crate bubble-macro 0.1.5 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate bubble-macro 0.1.5 [INFO] finished tweaking crates.io crate bubble-macro 0.1.5 [INFO] tweaked toml for crates.io crate bubble-macro 0.1.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bubble-macro 0.1.5 on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bubble-macro 0.1.5 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded sqlx-macros v0.7.2 [INFO] [stderr] Downloaded bubble-db v0.1.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.2 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded bb8 v0.8.6 [INFO] [stderr] Downloaded frunk_derives v0.4.4 [INFO] [stderr] Downloaded mysql-common-derive v0.30.2 [INFO] [stderr] Downloaded bb8-redis v0.12.0 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded bb8-postgres v0.8.1 [INFO] [stderr] Downloaded lru v0.10.1 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Downloaded rkyv_derive v0.7.46 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded frunk_core v0.4.4 [INFO] [stderr] Downloaded subprocess v0.2.13 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.16 [INFO] [stderr] Downloaded rkyv v0.7.46 [INFO] [stderr] Downloaded mysql_async v0.36.1 [INFO] [stderr] Downloaded redis v0.22.3 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] [stderr] Downloaded redis v0.23.3 [INFO] [stderr] Downloaded mysql_common v0.35.5 [INFO] [stderr] Downloaded webpki-roots v0.24.0 [INFO] [stderr] Downloaded rust_decimal v1.40.0 [INFO] [stderr] Downloaded sqlx v0.7.2 [INFO] [stderr] Downloaded arc-swap v1.8.0 [INFO] [stderr] Downloaded sqlx-postgres v0.7.2 [INFO] [stderr] Downloaded sqlx-core v0.7.2 [INFO] [stderr] Downloaded postgres-types v0.2.12 [INFO] [stderr] Downloaded postgres v0.19.12 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.2 [INFO] [stderr] Downloaded frunk v0.4.4 [INFO] [stderr] Downloaded postgres-protocol v0.6.10 [INFO] [stderr] Downloaded whoami v2.0.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.2 [INFO] [stderr] Downloaded pem v2.0.1 [INFO] [stderr] Downloaded io-enum v1.2.0 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.4 [INFO] [stderr] Downloaded lru v0.14.0 [INFO] [stderr] Downloaded mysql-common-derive v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e1540d48ef65bae43c0f0b14bc9fac8d68b12ef2095369e0252ad10f0b48e58 [INFO] running `Command { std: "docker" "start" "-a" "2e1540d48ef65bae43c0f0b14bc9fac8d68b12ef2095369e0252ad10f0b48e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e1540d48ef65bae43c0f0b14bc9fac8d68b12ef2095369e0252ad10f0b48e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1540d48ef65bae43c0f0b14bc9fac8d68b12ef2095369e0252ad10f0b48e58", kill_on_drop: false }` [INFO] [stdout] 2e1540d48ef65bae43c0f0b14bc9fac8d68b12ef2095369e0252ad10f0b48e58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 046f132605fa748e1d6e1ab5c292040422ab1c1b2557809daa7b8945c4ab8c57 [INFO] running `Command { std: "docker" "start" "-a" "046f132605fa748e1d6e1ab5c292040422ab1c1b2557809daa7b8945c4ab8c57", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling frunk_core v0.4.4 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling postgres-protocol v0.6.10 [INFO] [stderr] Compiling subprocess v0.2.13 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling postgres-types v0.2.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling frunk_derives v0.4.4 [INFO] [stderr] Compiling frunk_proc_macros v0.1.4 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.24.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling mysql_common v0.35.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling whoami v2.0.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling time v0.3.45 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling mysql-common-derive v0.32.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tokio-postgres v0.7.16 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling frunk v0.4.4 [INFO] [stderr] Compiling lexical v6.1.1 [INFO] [stderr] Compiling bb8 v0.8.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling lru v0.10.1 [INFO] [stderr] Compiling sqlx-core v0.7.2 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling arc-swap v1.8.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling lru v0.14.0 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling pem v2.0.1 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling keyed_priority_queue v0.4.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling twox-hash v2.1.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling bb8-postgres v0.8.1 [INFO] [stderr] Compiling postgres v0.19.12 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling jiff v0.2.18 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling redis v0.22.3 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Compiling sqlx-postgres v0.7.2 [INFO] [stderr] Compiling mysql_async v0.36.1 [INFO] [stderr] Compiling bb8-redis v0.12.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling sqlx v0.7.2 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling bubble-db v0.1.0 [INFO] [stderr] Compiling bubble-macro v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/types.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let inputs = &input_fn.sig.inputs; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_logging` is never used [INFO] [stdout] --> src/init.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn init_logging(level_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_database` is never used [INFO] [stdout] --> src/init.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | async fn init_database(db_type: &str, db_url: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config_file` is never used [INFO] [stdout] --> src/init.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn load_config_file(file_path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command_line_args` is never used [INFO] [stdout] --> src/init.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_command_line_args(args: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseBody` is never used [INFO] [stdout] --> src/types.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMetadata` is never constructed [INFO] [stdout] --> src/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ResponseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/types.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpStatus` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct HttpStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/types.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthInfo` is never constructed [INFO] [stdout] --> src/types.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct AuthInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/types.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/types.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/types.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorsConfig` is never constructed [INFO] [stdout] --> src/types.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct CorsConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Middleware` is never used [INFO] [stdout] --> src/types.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub trait Middleware: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DbResult` is never used [INFO] [stdout] --> src/types.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | pub type DbResult = Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3, sqlx-postgres v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "046f132605fa748e1d6e1ab5c292040422ab1c1b2557809daa7b8945c4ab8c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "046f132605fa748e1d6e1ab5c292040422ab1c1b2557809daa7b8945c4ab8c57", kill_on_drop: false }` [INFO] [stdout] 046f132605fa748e1d6e1ab5c292040422ab1c1b2557809daa7b8945c4ab8c57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6db8824ecf95d5d0c3ddab42775d7f29ca25aadb8912c44de4a7242bfe20822 [INFO] running `Command { std: "docker" "start" "-a" "b6db8824ecf95d5d0c3ddab42775d7f29ca25aadb8912c44de4a7242bfe20822", kill_on_drop: false }` [INFO] [stderr] Compiling bubble-macro v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/types.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/types.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let inputs = &input_fn.sig.inputs; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_logging` is never used [INFO] [stdout] --> src/init.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn init_logging(level_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_database` is never used [INFO] [stdout] --> src/init.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | async fn init_database(db_type: &str, db_url: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config_file` is never used [INFO] [stdout] --> src/init.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn load_config_file(file_path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command_line_args` is never used [INFO] [stdout] --> src/init.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_command_line_args(args: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseBody` is never used [INFO] [stdout] --> src/types.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMetadata` is never constructed [INFO] [stdout] --> src/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ResponseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/types.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpStatus` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct HttpStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/types.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthInfo` is never constructed [INFO] [stdout] --> src/types.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct AuthInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/types.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/types.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/types.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorsConfig` is never constructed [INFO] [stdout] --> src/types.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct CorsConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Middleware` is never used [INFO] [stdout] --> src/types.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub trait Middleware: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DbResult` is never used [INFO] [stdout] --> src/types.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | pub type DbResult = Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let inputs = &input_fn.sig.inputs; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_logging` is never used [INFO] [stdout] --> src/init.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn init_logging(level_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_database` is never used [INFO] [stdout] --> src/init.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | async fn init_database(db_type: &str, db_url: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config_file` is never used [INFO] [stdout] --> src/init.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn load_config_file(file_path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command_line_args` is never used [INFO] [stdout] --> src/init.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_command_line_args(args: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseBody` is never used [INFO] [stdout] --> src/types.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMetadata` is never constructed [INFO] [stdout] --> src/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ResponseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/types.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpStatus` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct HttpStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/types.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthInfo` is never constructed [INFO] [stdout] --> src/types.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct AuthInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/types.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/types.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/types.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorsConfig` is never constructed [INFO] [stdout] --> src/types.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct CorsConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Middleware` is never used [INFO] [stdout] --> src/types.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub trait Middleware: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DbResult` is never used [INFO] [stdout] --> src/types.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | pub type DbResult = Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3, sqlx-postgres v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b6db8824ecf95d5d0c3ddab42775d7f29ca25aadb8912c44de4a7242bfe20822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6db8824ecf95d5d0c3ddab42775d7f29ca25aadb8912c44de4a7242bfe20822", kill_on_drop: false }` [INFO] [stdout] b6db8824ecf95d5d0c3ddab42775d7f29ca25aadb8912c44de4a7242bfe20822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8ffb7138cdc5637658441fb4e5200484205825c0cb3dcf8e7412392615329b9 [INFO] running `Command { std: "docker" "start" "-a" "b8ffb7138cdc5637658441fb4e5200484205825c0cb3dcf8e7412392615329b9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> src/types.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Debug, Display}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> src/lib.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | let inputs = &input_fn.sig.inputs; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `init_logging` is never used [INFO] [stderr] --> src/init.rs:65:4 [INFO] [stderr] | [INFO] [stderr] 65 | fn init_logging(level_str: &str) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `init_database` is never used [INFO] [stderr] --> src/init.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | async fn init_database(db_type: &str, db_url: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_config_file` is never used [INFO] [stderr] --> src/init.rs:95:4 [INFO] [stderr] | [INFO] [stderr] 95 | fn load_config_file(file_path: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_command_line_args` is never used [INFO] [stderr] --> src/init.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | fn parse_command_line_args(args: &[String]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Request` is never constructed [INFO] [stderr] --> src/types.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Request { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Response` is never constructed [INFO] [stderr] --> src/types.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct Response { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ResponseBody` is never used [INFO] [stderr] --> src/types.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | pub enum ResponseBody { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ResponseMetadata` is never constructed [INFO] [stderr] --> src/types.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct ResponseMetadata { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `HttpMethod` is never used [INFO] [stderr] --> src/types.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | pub enum HttpMethod { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HttpStatus` is never constructed [INFO] [stderr] --> src/types.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct HttpStatus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Context` is never constructed [INFO] [stderr] --> src/types.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct Context { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Session` is never constructed [INFO] [stderr] --> src/types.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct Session { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AuthInfo` is never constructed [INFO] [stderr] --> src/types.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | pub struct AuthInfo { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Error` is never constructed [INFO] [stderr] --> src/types.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | pub struct Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Route` is never constructed [INFO] [stderr] --> src/types.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 147 | pub struct Route { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AppConfig` is never constructed [INFO] [stderr] --> src/types.rs:160:12 [INFO] [stderr] | [INFO] [stderr] 160 | pub struct AppConfig { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CorsConfig` is never constructed [INFO] [stderr] --> src/types.rs:177:12 [INFO] [stderr] | [INFO] [stderr] 177 | pub struct CorsConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Middleware` is never used [INFO] [stderr] --> src/types.rs:189:11 [INFO] [stderr] | [INFO] [stderr] 189 | pub trait Middleware: Send + Sync { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `DbResult` is never used [INFO] [stderr] --> src/types.rs:197:10 [INFO] [stderr] | [INFO] [stderr] 197 | pub type DbResult = Result; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bubble-macro` (lib) generated 21 warnings (run `cargo fix --lib -p bubble-macro` to apply 2 suggestions) [INFO] [stderr] warning: `bubble-macro` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3, sqlx-postgres v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bubble_macro-43056f4bf82a9e73) [INFO] [stdout] [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] [stderr] Doc-tests bubble_macro [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test src/lib.rs - bubble (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - controller (line 644) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - delete (line 525) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 101) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 208) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 261) ... FAILED [INFO] [stdout] test src/lib.rs - get (line 483) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 279) ... FAILED [INFO] [stdout] test src/lib.rs - head (line 553) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 94) ... FAILED [INFO] [stdout] test src/lib.rs - bubble (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - error_handler (line 759) ... FAILED [INFO] [stdout] test src/lib.rs - orm (line 1006) ... ok [INFO] [stdout] test src/lib.rs - orm (line 912) ... FAILED [INFO] [stdout] test src/lib.rs - put (line 511) ... FAILED [INFO] [stdout] test src/lib.rs - orm (line 923) ... FAILED [INFO] [stdout] test src/lib.rs - patch (line 539) ... FAILED [INFO] [stdout] test src/lib.rs - options (line 567) ... FAILED [INFO] [stdout] test src/lib.rs - post (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - path_param (line 791) ... FAILED [INFO] [stdout] test src/lib.rs - route (line 581) ... FAILED [INFO] [stdout] test src/lib.rs - orm (line 933) ... FAILED [INFO] [stdout] test src/lib.rs - query_param (line 820) ... FAILED [INFO] [stdout] test src/lib.rs - middleware (line 728) ... FAILED [INFO] [stdout] test src/lib.rs - request_body (line 849) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - bubble (line 251) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 253 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - controller (line 644) stdout ---- [INFO] [stdout] error: cannot find attribute `controller` in this scope [INFO] [stdout] --> src/lib.rs:645:3 [INFO] [stdout] | [INFO] [stdout] 645 | #[controller("/api/users")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 644 + use bubble_macro::controller; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 86) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[bubble(log_level = "debug")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 87 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 88 | async fn main() -> Result<(), E> { Ok(()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 57) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[bubble(host = "0.0.0.0")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 58 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 59 | async fn main() -> Result<(), E> { Ok(()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - delete (line 525) stdout ---- [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/lib.rs:526:3 [INFO] [stdout] | [INFO] [stdout] 526 | #[delete("/users/:id")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 525 + use bubble_macro::delete; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 65) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[bubble(workers = 4)] // Use 4 worker threads [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 66 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 67 | async fn main() -> Result<(), E> { Ok(()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 51) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[bubble(port = 8080)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 52 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 53 | async fn main() -> Result<(), E> { Ok(()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 101) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | #[bubble( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 102 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 208) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | #[bubble(port = 3000)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 209 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:212:7 [INFO] [stdout] | [INFO] [stdout] 212 | #[get("/health")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 209 + use bubble_macro::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `orm` in this scope [INFO] [stdout] --> src/lib.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[orm(table = "users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 209 + use bubble_macro::orm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 210 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 74) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[bubble( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 75 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 79 | async fn main() -> Result<(), E> { Ok(()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 261) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:262:3 [INFO] [stdout] | [INFO] [stdout] 262 | #[bubble] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 262 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 263 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get (line 483) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:484:3 [INFO] [stdout] | [INFO] [stdout] 484 | #[get("/users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 483 + use bubble_macro::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 279) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:282:3 [INFO] [stdout] | [INFO] [stdout] 282 | #[bubble( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 280 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `orm` in this scope [INFO] [stdout] --> src/lib.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[orm(table = "users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 280 + use bubble_macro::orm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | #[get("/api/users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 280 + use bubble_macro::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - head (line 553) stdout ---- [INFO] [stdout] error: cannot find attribute `head` in this scope [INFO] [stdout] --> src/lib.rs:554:3 [INFO] [stdout] | [INFO] [stdout] 554 | #[head("/users/:id")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 553 + use bubble_macro::head; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 94) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[bubble(config_file = "app.toml")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 95 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 96 | async fn main() -> Result<(), E> { Ok(()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | async fn main() -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bubble (line 34) stdout ---- [INFO] [stdout] error: cannot find attribute `bubble` in this scope [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[bubble] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 35 + use bubble_macro::bubble; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - error_handler (line 759) stdout ---- [INFO] [stdout] error: cannot find attribute `error_handler` in this scope [INFO] [stdout] --> src/lib.rs:760:3 [INFO] [stdout] | [INFO] [stdout] 760 | #[error_handler] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 759 + use bubble_macro::error_handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:761:22 [INFO] [stdout] | [INFO] [stdout] 761 | fn handle_error(err: Error) -> Response { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 759 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 759 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 759 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 759 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Response` in this scope [INFO] [stdout] --> src/lib.rs:761:32 [INFO] [stdout] | [INFO] [stdout] 761 | fn handle_error(err: Error) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Response` in this scope [INFO] [stdout] --> src/lib.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | Response::error(err) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - orm (line 912) stdout ---- [INFO] [stdout] error: cannot find attribute `orm` in this scope [INFO] [stdout] --> src/lib.rs:913:3 [INFO] [stdout] | [INFO] [stdout] 913 | #[orm(table = "users", db_type = "mysql")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 912 + use bubble_macro::orm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - put (line 511) stdout ---- [INFO] [stdout] error: cannot find attribute `put` in this scope [INFO] [stdout] --> src/lib.rs:512:3 [INFO] [stdout] | [INFO] [stdout] 512 | #[put("/users/:id")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 511 + use bubble_macro::put; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - orm (line 923) stdout ---- [INFO] [stdout] error: cannot find attribute `orm` in this scope [INFO] [stdout] --> src/lib.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | #[orm(db_type = "postgres")] // Table name will be "products" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 923 + use bubble_macro::orm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - patch (line 539) stdout ---- [INFO] [stdout] error: cannot find attribute `patch` in this scope [INFO] [stdout] --> src/lib.rs:540:3 [INFO] [stdout] | [INFO] [stdout] 540 | #[patch("/users/:id")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 540 - #[patch("/users/:id")] [INFO] [stdout] 540 + #[path("/users/:id")] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 539 + use bubble_macro::patch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - options (line 567) stdout ---- [INFO] [stdout] error: cannot find attribute `options` in this scope [INFO] [stdout] --> src/lib.rs:568:3 [INFO] [stdout] | [INFO] [stdout] 568 | #[options("/users/:id")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 567 + use bubble_macro::options; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - post (line 497) stdout ---- [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/lib.rs:498:3 [INFO] [stdout] | [INFO] [stdout] 498 | #[post("/users")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 497 + use bubble_macro::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path_param (line 791) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:792:3 [INFO] [stdout] | [INFO] [stdout] 792 | #[get("/users/:id")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 791 + use bubble_macro::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `path_param` in this scope [INFO] [stdout] --> src/lib.rs:793:15 [INFO] [stdout] | [INFO] [stdout] 793 | fn get_user(#[path_param("id")] user_id: i64) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 791 + use bubble_macro::path_param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - route (line 581) stdout ---- [INFO] [stdout] error: cannot find attribute `route` in this scope [INFO] [stdout] --> src/lib.rs:587:3 [INFO] [stdout] | [INFO] [stdout] 587 | #[route("TRACE", "/trace")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 581 + use bubble_macro::route; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `route` in this scope [INFO] [stdout] --> src/lib.rs:582:3 [INFO] [stdout] | [INFO] [stdout] 582 | #[route(method = "CUSTOM", path = "/custom")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 581 + use bubble_macro::route; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - orm (line 933) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `DatabaseConfig` in this scope [INFO] [stdout] --> src/lib.rs:935:14 [INFO] [stdout] | [INFO] [stdout] 935 | let config = DatabaseConfig::new("mysql://localhost:3306/mydb"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 933 + use bubble_db::DatabaseConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MySqlConnection` in this scope [INFO] [stdout] --> src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | let conn = MySqlConnection::connect(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MySqlConnection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 933 + use bubble_db::mysql::MySqlConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> src/lib.rs:940:12 [INFO] [stdout] | [INFO] [stdout] 940 | let user = User { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:936:46 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 936 | let conn = MySqlConnection::connect(&config).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:937:32 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 937 | init_database_connection(conn).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:947:34 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 947 | let created_user = user.create().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 951 | let found_user = User::find_by_id(1).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:954:41 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 954 | let updated_user = found_user.update(1).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:957:29 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 957 | let all_users = User::all().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:960:70 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 960 | let admins = User::query("SELECT * FROM users WHERE role = 'admin'").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:963:32 [INFO] [stdout] | [INFO] [stdout] 933 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_933_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 963 | let user_count = User::count().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_database_connection` in this scope [INFO] [stdout] --> src/lib.rs:937:1 [INFO] [stdout] | [INFO] [stdout] 937 | init_database_connection(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:951:18 [INFO] [stdout] | [INFO] [stdout] 951 | let found_user = User::find_by_id(1).await?; [INFO] [stdout] | ^^^^ use of undeclared type `User` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | let all_users = User::all().await?; [INFO] [stdout] | ^^^^ use of undeclared type `User` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:960:14 [INFO] [stdout] | [INFO] [stdout] 960 | let admins = User::query("SELECT * FROM users WHERE role = 'admin'").await?; [INFO] [stdout] | ^^^^ use of undeclared type `User` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:963:18 [INFO] [stdout] | [INFO] [stdout] 963 | let user_count = User::count().await?; [INFO] [stdout] | ^^^^ use of undeclared type `User` [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - query_param (line 820) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:821:3 [INFO] [stdout] | [INFO] [stdout] 821 | #[get("/users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 820 + use bubble_macro::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query_param` in this scope [INFO] [stdout] --> src/lib.rs:822:19 [INFO] [stdout] | [INFO] [stdout] 822 | fn search_users(#[query_param("name")] name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 820 + use bubble_macro::query_param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - middleware (line 728) stdout ---- [INFO] [stdout] error: cannot find attribute `middleware` in this scope [INFO] [stdout] --> src/lib.rs:729:3 [INFO] [stdout] | [INFO] [stdout] 729 | #[middleware] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 728 + use bubble_macro::middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:730:28 [INFO] [stdout] | [INFO] [stdout] 730 | fn logger_middleware(req: &Request) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 728 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Response` in this scope [INFO] [stdout] --> src/lib.rs:730:47 [INFO] [stdout] | [INFO] [stdout] 730 | fn logger_middleware(req: &Request) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 730 | fn logger_middleware(req: &Request) -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:730:40 [INFO] [stdout] | [INFO] [stdout] 730 | fn logger_middleware(req: &Request) -> Result { [INFO] [stdout] | ^^^^^^ -------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 730 | fn logger_middleware(req: &Request) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Response` in this scope [INFO] [stdout] --> src/lib.rs:732:8 [INFO] [stdout] | [INFO] [stdout] 732 | Ok(Response::new()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - request_body (line 849) stdout ---- [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/lib.rs:850:3 [INFO] [stdout] | [INFO] [stdout] 850 | #[post("/users")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 849 + use bubble_macro::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `request_body` in this scope [INFO] [stdout] --> src/lib.rs:851:18 [INFO] [stdout] | [INFO] [stdout] 851 | fn create_user(#[request_body] user: CreateUserRequest) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 849 + use bubble_macro::request_body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CreateUserRequest` in this scope [INFO] [stdout] --> src/lib.rs:851:38 [INFO] [stdout] | [INFO] [stdout] 851 | fn create_user(#[request_body] user: CreateUserRequest) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - bubble (line 101) [INFO] [stdout] src/lib.rs - bubble (line 208) [INFO] [stdout] src/lib.rs - bubble (line 251) [INFO] [stdout] src/lib.rs - bubble (line 261) [INFO] [stdout] src/lib.rs - bubble (line 279) [INFO] [stdout] src/lib.rs - bubble (line 34) [INFO] [stdout] src/lib.rs - bubble (line 51) [INFO] [stdout] src/lib.rs - bubble (line 57) [INFO] [stdout] src/lib.rs - bubble (line 65) [INFO] [stdout] src/lib.rs - bubble (line 74) [INFO] [stdout] src/lib.rs - bubble (line 86) [INFO] [stdout] src/lib.rs - bubble (line 94) [INFO] [stdout] src/lib.rs - controller (line 644) [INFO] [stdout] src/lib.rs - delete (line 525) [INFO] [stdout] src/lib.rs - error_handler (line 759) [INFO] [stdout] src/lib.rs - get (line 483) [INFO] [stdout] src/lib.rs - head (line 553) [INFO] [stdout] src/lib.rs - middleware (line 728) [INFO] [stdout] src/lib.rs - options (line 567) [INFO] [stdout] src/lib.rs - orm (line 912) [INFO] [stdout] src/lib.rs - orm (line 923) [INFO] [stdout] src/lib.rs - orm (line 933) [INFO] [stdout] src/lib.rs - patch (line 539) [INFO] [stdout] src/lib.rs - path_param (line 791) [INFO] [stdout] src/lib.rs - post (line 497) [INFO] [stdout] src/lib.rs - put (line 511) [INFO] [stdout] src/lib.rs - query_param (line 820) [INFO] [stdout] src/lib.rs - request_body (line 849) [INFO] [stdout] src/lib.rs - route (line 581) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 29 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.32s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.77s; merged doctests compilation took 0.43s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b8ffb7138cdc5637658441fb4e5200484205825c0cb3dcf8e7412392615329b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ffb7138cdc5637658441fb4e5200484205825c0cb3dcf8e7412392615329b9", kill_on_drop: false }` [INFO] [stdout] b8ffb7138cdc5637658441fb4e5200484205825c0cb3dcf8e7412392615329b9