[INFO] fetching crate collectivity 3.2.2... [INFO] checking collectivity-3.2.2 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate collectivity 3.2.2 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking crates.io crate collectivity 3.2.2 [INFO] finished tweaking crates.io crate collectivity 3.2.2 [INFO] tweaked toml for crates.io crate collectivity 3.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate collectivity 3.2.2 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate collectivity 3.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61724ed3695d5053de28a0d573445d56abade5dd23db064cf9e32f4a6e924532 [INFO] running `Command { std: "docker" "start" "-a" "61724ed3695d5053de28a0d573445d56abade5dd23db064cf9e32f4a6e924532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61724ed3695d5053de28a0d573445d56abade5dd23db064cf9e32f4a6e924532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61724ed3695d5053de28a0d573445d56abade5dd23db064cf9e32f4a6e924532", kill_on_drop: false }` [INFO] [stdout] 61724ed3695d5053de28a0d573445d56abade5dd23db064cf9e32f4a6e924532 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 593a74e07e7e4b78555a1c6ce1edd8a48bb278879b44908412ee91f853ccbb3a [INFO] running `Command { std: "docker" "start" "-a" "593a74e07e7e4b78555a1c6ce1edd8a48bb278879b44908412ee91f853ccbb3a", kill_on_drop: false }` [INFO] [stderr] Checking collectivity v3.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / where [INFO] [stdout] 50 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 49 ~ [INFO] [stdout] 50 ~ = >::Value<'a> where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | / where [INFO] [stdout] 61 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 60 ~ [INFO] [stdout] 61 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | / where [INFO] [stdout] 72 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 71 ~ [INFO] [stdout] 72 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | / where [INFO] [stdout] 83 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 82 ~ [INFO] [stdout] 83 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | / where [INFO] [stdout] 94 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 93 ~ [INFO] [stdout] 94 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | / where [INFO] [stdout] 106 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 105 ~ [INFO] [stdout] 106 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / where [INFO] [stdout] 118 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 117 ~ [INFO] [stdout] 118 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | / where [INFO] [stdout] 130 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 129 ~ [INFO] [stdout] 130 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | / where [INFO] [stdout] 142 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 141 ~ [INFO] [stdout] 142 ~ = &'a K where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | / where [INFO] [stdout] 154 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 153 ~ [INFO] [stdout] 154 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | / where [INFO] [stdout] 166 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 165 ~ [INFO] [stdout] 166 ~ = &'a K where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"collectivity","loc":"src/try_insert.rs:49:14","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / where [INFO] [stdout] 50 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 49 ~ [INFO] [stdout] 50 ~ = >::Value<'a> where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | / where [INFO] [stdout] 61 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 60 ~ [INFO] [stdout] 61 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types, associated_type_defaults)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | / where [INFO] [stdout] 72 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 71 ~ [INFO] [stdout] 72 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | / where [INFO] [stdout] 83 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 82 ~ [INFO] [stdout] 83 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | / where [INFO] [stdout] 94 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 93 ~ [INFO] [stdout] 94 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | / where [INFO] [stdout] 106 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 105 ~ [INFO] [stdout] 106 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / where [INFO] [stdout] 118 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 117 ~ [INFO] [stdout] 118 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | / where [INFO] [stdout] 130 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 129 ~ [INFO] [stdout] 130 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | / where [INFO] [stdout] 142 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 141 ~ [INFO] [stdout] 142 ~ = &'a K where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | / where [INFO] [stdout] 154 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 153 ~ [INFO] [stdout] 154 ~ = &'a V where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/get.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | / where [INFO] [stdout] 166 | | Self: 'a, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 165 ~ [INFO] [stdout] 166 ~ = &'a K where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"collectivity","loc":"src/try_insert.rs:49:14","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types, associated_type_defaults)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> examples/dynamic.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | ("Array", box [0_usize; N] as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 17 - ("Array", box [0_usize; N] as _), [INFO] [stdout] 17 + ("Array", Box::new([0_usize; N]) as _), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> examples/dynamic.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ("Vec", box vec![] as _), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 18 - ("Vec", box vec![] as _), [INFO] [stdout] 18 + ("Vec", Box::new(vec![]) as _), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> examples/dynamic.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | ("VecDeque", box VecDeque::new() as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 19 - ("VecDeque", box VecDeque::new() as _), [INFO] [stdout] 19 + ("VecDeque", Box::new(VecDeque::new()) as _), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> examples/dynamic.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | ("BTreeMap", box BTreeMap::new() as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 20 - ("BTreeMap", box BTreeMap::new() as _), [INFO] [stdout] 20 + ("BTreeMap", Box::new(BTreeMap::new()) as _), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> examples/dynamic.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | ("HashMap", box HashMap::new() as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 21 - ("HashMap", box HashMap::new() as _), [INFO] [stdout] 21 + ("HashMap", Box::new(HashMap::new()) as _), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> examples/dynamic.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap`, and `VecDeque` [INFO] [stdout] --> examples/dynamic.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | collections::{BTreeMap, HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"dynamic","loc":"examples/dynamic.rs:27:6","p":3,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"dynamic","loc":"examples/dynamic.rs:29:14","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error: `impl for<'b> Get = &'b usize>` does not live long enough [INFO] [stdout] --> examples/get.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | data.get(pos).map(|v| v * multiplier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: due to a current limitation of the type system, this implies a `'static` lifetime [INFO] [stdout] --> examples/get.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | data: &impl for<'b> Get = &'b usize>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider restricting the type parameter to the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 4 | data: &impl for<'b> Get = &'b usize> + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `impl for<'b> Get = &'b usize>` does not live long enough [INFO] [stdout] --> examples/get.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | data.get(pos).map(|v| v * multiplier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: due to a current limitation of the type system, this implies a `'static` lifetime [INFO] [stdout] --> examples/get.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | data: &impl for<'b> Get = &'b usize>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider restricting the type parameter to the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 4 | data: &impl for<'b> Get = &'b usize> + 'static, [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 `collectivity` (example "dynamic") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `collectivity` (example "get") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "593a74e07e7e4b78555a1c6ce1edd8a48bb278879b44908412ee91f853ccbb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593a74e07e7e4b78555a1c6ce1edd8a48bb278879b44908412ee91f853ccbb3a", kill_on_drop: false }` [INFO] [stdout] 593a74e07e7e4b78555a1c6ce1edd8a48bb278879b44908412ee91f853ccbb3a