[INFO] fetching crate enrgy 0.2.2... [INFO] testing enrgy-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate enrgy 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate enrgy 0.2.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--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] 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52fefb16ff07d25b23b891032a9ca2dffe0fdf3db7d223c7fdf62284c71ec83c [INFO] running `Command { std: "docker" "start" "-a" "52fefb16ff07d25b23b891032a9ca2dffe0fdf3db7d223c7fdf62284c71ec83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52fefb16ff07d25b23b891032a9ca2dffe0fdf3db7d223c7fdf62284c71ec83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52fefb16ff07d25b23b891032a9ca2dffe0fdf3db7d223c7fdf62284c71ec83c", kill_on_drop: false }` [INFO] [stdout] 52fefb16ff07d25b23b891032a9ca2dffe0fdf3db7d223c7fdf62284c71ec83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67ef7308a8bffcb28d15c37bd25eb5635bce9ddb4e80daf3745ad8606474528c [INFO] running `Command { std: "docker" "start" "-a" "67ef7308a8bffcb28d15c37bd25eb5635bce9ddb4e80daf3745ad8606474528c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling path-tree v0.1.12 [INFO] [stderr] Compiling nix v0.30.1 [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" "67ef7308a8bffcb28d15c37bd25eb5635bce9ddb4e80daf3745ad8606474528c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ef7308a8bffcb28d15c37bd25eb5635bce9ddb4e80daf3745ad8606474528c", kill_on_drop: false }` [INFO] [stdout] 67ef7308a8bffcb28d15c37bd25eb5635bce9ddb4e80daf3745ad8606474528c