[INFO] fetching crate gotham_restful 0.9.0... [INFO] testing gotham_restful-0.9.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate gotham_restful 0.9.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate gotham_restful 0.9.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ffa440811b545bd958ff37cfbacaca9404e2a9da4dcbffc47fdfb7ee04af270 [INFO] running `Command { std: "docker" "start" "-a" "7ffa440811b545bd958ff37cfbacaca9404e2a9da4dcbffc47fdfb7ee04af270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ffa440811b545bd958ff37cfbacaca9404e2a9da4dcbffc47fdfb7ee04af270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffa440811b545bd958ff37cfbacaca9404e2a9da4dcbffc47fdfb7ee04af270", kill_on_drop: false }` [INFO] [stdout] 7ffa440811b545bd958ff37cfbacaca9404e2a9da4dcbffc47fdfb7ee04af270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b4a18088dd74d5bceb2d7b9c11ab73e333111097c1a7ff65fe725c514ec856 [INFO] running `Command { std: "docker" "start" "-a" "63b4a18088dd74d5bceb2d7b9c11ab73e333111097c1a7ff65fe725c514ec856", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling byteorder v1.5.0 [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 deranged v0.3.11 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.11.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 num_cpus v1.16.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling borrow-bag v1.1.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time v0.3.37 [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 futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.11.1 [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 28.37s [INFO] running `Command { std: "docker" "inspect" "63b4a18088dd74d5bceb2d7b9c11ab73e333111097c1a7ff65fe725c514ec856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b4a18088dd74d5bceb2d7b9c11ab73e333111097c1a7ff65fe725c514ec856", kill_on_drop: false }` [INFO] [stdout] 63b4a18088dd74d5bceb2d7b9c11ab73e333111097c1a7ff65fe725c514ec856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5441aa7304c31f876aa43003ca4c3cac4f34469507b54901d599dc72f50b6d3c [INFO] running `Command { std: "docker" "start" "-a" "5441aa7304c31f876aa43003ca4c3cac4f34469507b54901d599dc72f50b6d3c", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling gotham_derive v0.7.1 [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 simple_logger v5.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling gotham_restful_derive v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling gotham v0.7.4 [INFO] [stderr] Compiling diesel v2.2.6 [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 44.91s [INFO] running `Command { std: "docker" "inspect" "5441aa7304c31f876aa43003ca4c3cac4f34469507b54901d599dc72f50b6d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5441aa7304c31f876aa43003ca4c3cac4f34469507b54901d599dc72f50b6d3c", kill_on_drop: false }` [INFO] [stdout] 5441aa7304c31f876aa43003ca4c3cac4f34469507b54901d599dc72f50b6d3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3d0c57d60b0d941bd0e9b60b8c8f66a6584437fbf2b82c3a1da3ae5d0a083b9 [INFO] running `Command { std: "docker" "start" "-a" "a3d0c57d60b0d941bd0e9b60b8c8f66a6584437fbf2b82c3a1da3ae5d0a083b9", 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.27s [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_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::raw::test::raw_result ... ok [INFO] [stdout] test response::no_content::test::no_content_has_empty_response ... ok [INFO] [stdout] test response::success::test::success_accepts_json ... ok [INFO] [stdout] test response::result::test::result_err ... ok [INFO] [stdout] test response::redirect::test::redirect_response ... 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::test::result_from_future ... ok [INFO] [stdout] test response::result::test::result_ok ... ok [INFO] [stdout] test response::redirect::test::redirect_result ... 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] [stderr] error: DefId(0:0 ~ gotham_restful[9889]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name gotham_restful --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/usr/lib/x86_64-linux-gnu --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-be055f3b86952ee2.rlib --extern futures_core=/opt/rustwide/target/debug/deps/libfutures_core-fc6bb1738f00fc87.rlib --extern futures_executor=/opt/rustwide/target/debug/deps/libfutures_executor-2cf10c8246ff0886.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-a3909fee7ccf71b8.rlib --extern gotham=/opt/rustwide/target/debug/deps/libgotham-9c09c4c6585e0be5.rlib --extern gotham_restful=/opt/rustwide/target/debug/deps/libgotham_restful-e1129b5edd680ad5.rlib --extern gotham_restful_derive=/opt/rustwide/target/debug/deps/libgotham_restful_derive-54e22ce6f7b0f4e2.so --extern log=/opt/rustwide/target/debug/deps/liblog-669e9396cafcbb01.rlib --extern paste=/opt/rustwide/target/debug/deps/libpaste-a7d55195f43d4871.so --extern pretty_assertions=/opt/rustwide/target/debug/deps/libpretty_assertions-cb10fec72c85aede.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-f07dfe04a828d140.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c7f147a78313ccb1.rlib --extern simple_logger=/opt/rustwide/target/debug/deps/libsimple_logger-77a41c948300d590.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-b5c373f1ef7251b8.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-ef3e917ec1d580c5.rlib --extern trybuild=/opt/rustwide/target/debug/deps/libtrybuild-355fc2b960c7544f.rlib -C embed-bitcode=no --cfg 'feature="cors"' --cfg 'feature="default"' --cfg 'feature="errorlog"' --cfg 'feature="without-openapi"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("auth", "cors", "database", "default", "errorlog", "full", "openapi", "without-openapi"))' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "a3d0c57d60b0d941bd0e9b60b8c8f66a6584437fbf2b82c3a1da3ae5d0a083b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d0c57d60b0d941bd0e9b60b8c8f66a6584437fbf2b82c3a1da3ae5d0a083b9", kill_on_drop: false }` [INFO] [stdout] a3d0c57d60b0d941bd0e9b60b8c8f66a6584437fbf2b82c3a1da3ae5d0a083b9