[INFO] fetching crate enrgy 0.2.2... [INFO] testing enrgy-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate enrgy 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate enrgy 0.2.2 [INFO] finished tweaking crates.io crate enrgy 0.2.2 [INFO] tweaked toml for crates.io crate enrgy 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate enrgy 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding path-tree v0.1.12 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded block2 v0.6.2 [INFO] [stderr] Downloaded ctrlc v3.5.1 [INFO] [stderr] Downloaded path-tree v0.1.12 [INFO] [stderr] Downloaded objc2 v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 758d5fc951b1e70aa50b5c612c839dc82f3601570304ae0a708ac231e150fb6d [INFO] running `Command { std: "docker" "start" "-a" "758d5fc951b1e70aa50b5c612c839dc82f3601570304ae0a708ac231e150fb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "758d5fc951b1e70aa50b5c612c839dc82f3601570304ae0a708ac231e150fb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758d5fc951b1e70aa50b5c612c839dc82f3601570304ae0a708ac231e150fb6d", kill_on_drop: false }` [INFO] [stdout] 758d5fc951b1e70aa50b5c612c839dc82f3601570304ae0a708ac231e150fb6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86ae2a2e80f97bb1806768c16297ff0dafcd3904f59761464bbd5f5c86824148 [INFO] running `Command { std: "docker" "start" "-a" "86ae2a2e80f97bb1806768c16297ff0dafcd3904f59761464bbd5f5c86824148", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling path-tree v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling enrgy v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.56.0; see for more information [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Header { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | impl Deref for Header { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | impl DerefMut for Header { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | impl Extractor for Header { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct OptionalHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | impl Deref for OptionalHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | impl DerefMut for OptionalHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/header.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | impl Extractor for OptionalHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Param { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | impl Deref for Param { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | impl DerefMut for Param { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | impl Extractor for Param { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct OptionalParam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl Deref for OptionalParam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | impl DerefMut for OptionalParam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/param.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | impl Extractor for OptionalParam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | impl Deref for Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | impl DerefMut for Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | impl Extractor for Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct OptionalQuery { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl Deref for OptionalQuery { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | impl DerefMut for OptionalQuery { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/extractor/query.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | impl Extractor for OptionalQuery { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enrgy` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "86ae2a2e80f97bb1806768c16297ff0dafcd3904f59761464bbd5f5c86824148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ae2a2e80f97bb1806768c16297ff0dafcd3904f59761464bbd5f5c86824148", kill_on_drop: false }` [INFO] [stdout] 86ae2a2e80f97bb1806768c16297ff0dafcd3904f59761464bbd5f5c86824148