[INFO] fetching crate gotham_restful 0.9.0... [INFO] testing gotham_restful-0.9.0 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate gotham_restful 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate gotham_restful 0.9.0 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gotham_restful 0.9.0 [INFO] finished tweaking crates.io crate gotham_restful 0.9.0 [INFO] tweaked toml for crates.io crate gotham_restful 0.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 200 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.8) [INFO] [stderr] Adding trybuild v1.0.95 (available: v1.0.101) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gotham_restful_redoc v0.2.8+2.2.0 [INFO] [stderr] Downloaded simple_logger v5.0.0 [INFO] [stderr] Downloaded trybuild v1.0.95 [INFO] [stderr] Downloaded borrow-bag v1.1.1 [INFO] [stderr] Downloaded gotham_restful_derive v0.9.0 [INFO] [stderr] Downloaded cookie v0.15.2 [INFO] [stderr] Downloaded openapi_type_derive v0.4.5 [INFO] [stderr] Downloaded openapi_type v0.5.0 [INFO] [stderr] Downloaded gotham v0.7.4 [INFO] [stderr] Downloaded gotham_derive v0.7.1 [INFO] [stderr] Downloaded gotham_middleware_diesel v0.5.1 [INFO] [stderr] Downloaded syn-path v2.0.0 [INFO] [stderr] Downloaded openapiv3 v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 166972e08394d41b2e6ba51219ce8cc17c173c4b1c20c8f358b4a756f08e0c63 [INFO] running `Command { std: "docker" "start" "-a" "166972e08394d41b2e6ba51219ce8cc17c173c4b1c20c8f358b4a756f08e0c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "166972e08394d41b2e6ba51219ce8cc17c173c4b1c20c8f358b4a756f08e0c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166972e08394d41b2e6ba51219ce8cc17c173c4b1c20c8f358b4a756f08e0c63", kill_on_drop: false }` [INFO] [stdout] 166972e08394d41b2e6ba51219ce8cc17c173c4b1c20c8f358b4a756f08e0c63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c93dff68df6c7689d7f6cbe0087c4e4769ac5a7565241256a16826c3ba224ab3 [INFO] running `Command { std: "docker" "start" "-a" "c93dff68df6c7689d7f6cbe0087c4e4769ac5a7565241256a16826c3ba224ab3", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling borrow-bag v1.1.1 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling gotham_derive v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling gotham_restful_derive v0.9.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling gotham v0.7.4 [INFO] [stderr] Compiling gotham_restful v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `gotham_restful_deny_warnings` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(gotham_restful_deny_warnings, deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gotham_restful_deny_warnings)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gotham_restful_deny_warnings)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrAllTypes` is never used [INFO] [stdout] --> src/response/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) trait OrAllTypes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.81s [INFO] running `Command { std: "docker" "inspect" "c93dff68df6c7689d7f6cbe0087c4e4769ac5a7565241256a16826c3ba224ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93dff68df6c7689d7f6cbe0087c4e4769ac5a7565241256a16826c3ba224ab3", kill_on_drop: false }` [INFO] [stdout] c93dff68df6c7689d7f6cbe0087c4e4769ac5a7565241256a16826c3ba224ab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90f95b9fe8cd714215357024ba834785cf115ee91261332f9b24034075ef2eab [INFO] running `Command { std: "docker" "start" "-a" "90f95b9fe8cd714215357024ba834785cf115ee91261332f9b24034075ef2eab", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling gotham_derive v0.7.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling trybuild v1.0.95 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling gotham_restful_derive v0.9.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling diesel v2.2.6 [INFO] [stderr] Compiling gotham v0.7.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling gotham_restful v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `gotham_restful_deny_warnings` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(gotham_restful_deny_warnings, deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gotham_restful_deny_warnings)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gotham_restful_deny_warnings)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrAllTypes` is never used [INFO] [stdout] --> src/response/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) trait OrAllTypes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gotham_restful_deny_warnings` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(gotham_restful_deny_warnings, deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gotham_restful_deny_warnings)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gotham_restful_deny_warnings)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MsgError` is never constructed [INFO] [stdout] --> src/response/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | struct MsgError; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MsgError` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.08s [INFO] running `Command { std: "docker" "inspect" "90f95b9fe8cd714215357024ba834785cf115ee91261332f9b24034075ef2eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f95b9fe8cd714215357024ba834785cf115ee91261332f9b24034075ef2eab", kill_on_drop: false }` [INFO] [stdout] 90f95b9fe8cd714215357024ba834785cf115ee91261332f9b24034075ef2eab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e58cf2f7d8f246634e64437905d1b25445ff1d679dc0f5e2b68ff1d5d46e4cb [INFO] running `Command { std: "docker" "start" "-a" "1e58cf2f7d8f246634e64437905d1b25445ff1d679dc0f5e2b68ff1d5d46e4cb", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `gotham_restful_deny_warnings` [INFO] [stderr] --> src/lib.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | #![cfg_attr(gotham_restful_deny_warnings, deny(warnings))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gotham_restful_deny_warnings)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gotham_restful_deny_warnings)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `OrAllTypes` is never used [INFO] [stderr] --> src/response/mod.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | pub(crate) trait OrAllTypes { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gotham_restful` (lib) generated 2 warnings [INFO] [stderr] warning: struct `MsgError` is never constructed [INFO] [stderr] --> src/response/mod.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 303 | struct MsgError; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MsgError` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gotham_restful` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gotham_restful-3b5299b137a920e0) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test response::no_content::test::no_content_has_empty_response ... ok [INFO] [stdout] test response::no_content::test::no_content_custom_headers ... ok [INFO] [stdout] test response::raw::test::raw_response ... ok [INFO] [stdout] test response::no_content::test::no_content_result ... ok [INFO] [stdout] test response::redirect::test::redirect_response ... ok [INFO] [stdout] test response::redirect::test::redirect_result ... ok [INFO] [stdout] test response::result::test::result_ok ... ok [INFO] [stdout] test response::result::test::result_err ... ok [INFO] [stdout] test response::success::test::success_always_successfull ... ok [INFO] [stdout] test response::success::test::success_custom_headers ... ok [INFO] [stdout] test response::result::test::success_accepts_json ... ok [INFO] [stdout] test response::success::test::success_accepts_json ... ok [INFO] [stdout] test response::raw::test::raw_result ... ok [INFO] [stdout] test response::test::result_from_future ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gotham_restful [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/cors.rs - cors::CorsConfig (line 106) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 220) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 386) - compile ... ok [INFO] [stdout] test src/cors.rs - cors::CorsRoute (line 223) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 277) - compile ... ok [INFO] [stdout] test src/response/raw.rs - response::raw::Raw (line 24) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 172) - compile ... ok [INFO] [stdout] test src/response/auth_result.rs - response::auth_result::AuthResult (line 107) ... ok [INFO] [stdout] test src/cors.rs - cors::CorsConfig (line 128) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 324) - compile ... ok [INFO] [stdout] test src/response/mod.rs - response::Response (line 58) ... ok [INFO] [stdout] test src/lib.rs - (line 140) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 53) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 87) - compile ... ok [INFO] [stdout] test src/response/no_content.rs - response::no_content::NoContent (line 20) ... ok [INFO] [stdout] test src/lib.rs - (line 452) ... ok [INFO] [stdout] test src/response/auth_result.rs - response::auth_result::AuthSuccess (line 48) ... ok [INFO] [stdout] test src/types.rs - types::RequestBody (line 72) ... ok [INFO] [stdout] test src/response/success.rs - response::success::Success (line 21) ... ok [INFO] [stdout] test src/types.rs - types::FromBody (line 37) ... ok [INFO] [stdout] test src/response/redirect.rs - response::redirect::Redirect (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e58cf2f7d8f246634e64437905d1b25445ff1d679dc0f5e2b68ff1d5d46e4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e58cf2f7d8f246634e64437905d1b25445ff1d679dc0f5e2b68ff1d5d46e4cb", kill_on_drop: false }` [INFO] [stdout] 1e58cf2f7d8f246634e64437905d1b25445ff1d679dc0f5e2b68ff1d5d46e4cb