[INFO] cloning repository https://github.com/kod-kristoff/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kod-kristoff/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bda6047e1670199cd7db8a9b0e9c10e3dc38a2b [INFO] checking kod-kristoff/rust-playground against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Frust-playground" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kod-kristoff/rust-playground on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kod-kristoff/rust-playground [INFO] finished tweaking git repo https://github.com/kod-kristoff/rust-playground [INFO] tweaked toml for git repo https://github.com/kod-kristoff/rust-playground written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/kod-kristoff/rust-playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 631a9c689295f7eec4841f14c3243c7a2c4b665e9080df7a2eece4efbd28424e [INFO] running `Command { std: "docker" "start" "-a" "631a9c689295f7eec4841f14c3243c7a2c4b665e9080df7a2eece4efbd28424e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "631a9c689295f7eec4841f14c3243c7a2c4b665e9080df7a2eece4efbd28424e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631a9c689295f7eec4841f14c3243c7a2c4b665e9080df7a2eece4efbd28424e", kill_on_drop: false }` [INFO] [stdout] 631a9c689295f7eec4841f14c3243c7a2c4b665e9080df7a2eece4efbd28424e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4f6cdc3c72dacf0be625350cc14bdbb34b099c33a9c635e6037e5081aec232c [INFO] running `Command { std: "docker" "start" "-a" "a4f6cdc3c72dacf0be625350cc14bdbb34b099c33a9c635e6037e5081aec232c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.22: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking rust-playground v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking latin2cyrillic v0.1.0 (/tmp/fixit/latin2cyrillic) [INFO] [stderr] Checking running-stats v0.1.0 (/tmp/fixit/running-stats) [INFO] [stderr] Checking bifurcate-coordinates v0.1.0 (/tmp/fixit/bifurcate-coordinates) [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Migrating latin2cyrillic/src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating bifurcate-coordinates/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating running-stats/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking ds-13 v0.1.0 (/tmp/fixit/ds-13) [INFO] [stderr] Checking persi-ds v0.1.0 (/tmp/fixit/persi-ds) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Migrating ds-13/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating persi-ds/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed bifurcate-coordinates/src/lib.rs (1 fix) [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Fixed ds-13/src/unsync/rb_tree.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `from_node` [INFO] [stdout] --> ds-13/src/unsync/list.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_node(tail: &Rc>) -> List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn tree(colour: Colour, value: T, left: &Self, right: &Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_node` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn from_node(node: &Rc>) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `root_colour` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn root_colour(&self) -> Colour { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn ins(&self, x: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_or_rep` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn ins_or_rep(&self, x: T) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_left` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn doubled_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_right` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn doubled_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paint` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn paint(&self, c: Colour) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `balance` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn balance(c: Colour, x: T, left: &RBTree, right: &RBTree) -> RBTree [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn left(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn right(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_left` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | fn doubled_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_right` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn doubled_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_node` [INFO] [stdout] --> ds-13/src/unsync/list.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_node(tail: &Rc>) -> List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_node` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn from_node(node: &Rc>) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn ins(&self, x: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_or_rep` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn ins_or_rep(&self, x: T) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_left` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn doubled_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_right` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn doubled_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paint` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn paint(&self, c: Colour) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `balance` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn balance(c: Colour, x: T, left: &RBTree, right: &RBTree) -> RBTree [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn left(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn right(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_left` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | fn doubled_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doubled_right` [INFO] [stdout] --> ds-13/src/unsync/rb_tree.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn doubled_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking statelist v0.1.0 (/tmp/fixit/statelist) [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating statelist/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating ds-13/tests/synced_list.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `ds_13::list` [INFO] [stdout] --> statelist/src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ds_13::list; [INFO] [stdout] | ^^^^^^^^^^^ no `list` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> statelist/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `List`, `reverse` [INFO] [stdout] --> statelist/src/state.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use ds_13::unsync::list::{List, reverse}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> statelist/src/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn make_plan(f: &dyn Fn(&State) -> (A, State)) -> Plan { [INFO] [stdout] | -------------- expected `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` because of return type [INFO] [stdout] 17 | f [INFO] [stdout] | ^ expected struct `Box`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` [INFO] [stdout] found reference `&dyn for<'r> Fn(&'r State) -> (A, State)` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 17 | Box::new(f) [INFO] [stdout] | +++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> statelist/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn mreturn<'a, State: Clone, A: Copy + 'a>(a: A) -> Plan { [INFO] [stdout] | -------------- expected `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` because of return type [INFO] [stdout] 24 | / |s: &State| { [INFO] [stdout] 25 | | (a, s.clone()) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ expected struct `Box`, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` [INFO] [stdout] found closure `[closure@statelist/src/state.rs:24:5: 26:6]` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 24 ~ Box::new(|s: &State| { [INFO] [stdout] 25 | (a, s.clone()) [INFO] [stdout] 26 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `pl` has lifetime `'a` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> statelist/src/state.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn mbind<'a, State: 'a, A: 'a, B>(pl: &'a Plan, k: impl Fn(A) -> Plan + 'a) -> Plan { [INFO] [stdout] | ------------------ this data with lifetime `'a`... [INFO] [stdout] 30 | Box::new(move |s: &State| { [INFO] [stdout] | ______________^ [INFO] [stdout] 31 | | let (a, s1) = run_plan(Box::new(pl), s); [INFO] [stdout] 32 | | let pl_b = k(a); [INFO] [stdout] 33 | | run_plan(pl_b, &s1) [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____^ ...is captured here, requiring it to live as long as `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `pl` has lifetime `'a` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> statelist/src/state.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn mbind<'a, State: 'a, A: 'a, B>(pl: &'a Plan, k: impl Fn(A) -> Plan + 'a) -> Plan { [INFO] [stdout] | ------------------ this data with lifetime `'a`... [INFO] [stdout] 30 | Box::new(move |s: &State| { [INFO] [stdout] 31 | let (a, s1) = run_plan(Box::new(pl), s); [INFO] [stdout] | ^^ ...is captured here, requiring it to live as long as `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `statelist` due to 8 previous errors; 2 warnings emitted [INFO] [stdout] error[E0277]: the trait bound `State: Clone` is not satisfied in `(A, State)` [INFO] [stdout] --> statelist/src/state_list.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fmap(|(a, _state)| *a, &st(s)) [INFO] [stdout] | ^^^^^^ within `(A, State)`, the trait `Clone` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `(A, State)` [INFO] [stdout] note: required by a bound in `ds_13::unsync::list::fmap` [INFO] [stdout] --> /tmp/fixit/ds-13/src/unsync/list.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | T: Clone, [INFO] [stdout] | ^^^^^ required by this bound in `ds_13::unsync::list::fmap` [INFO] [stdout] help: consider restricting type parameter `State` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn eval_state_list(st: &StateList, s: &State) -> List { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | Rc::new(move |_s: &State| PairList::empty()) [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<(_, _)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599, E0759. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ds_13::list` [INFO] [stdout] --> statelist/src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ds_13::list; [INFO] [stdout] | ^^^^^^^^^^^ no `list` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ds_13::list` [INFO] [stdout] --> statelist/src/state_list.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ds_13::list; [INFO] [stdout] | ^^^^^^^^^^^ no `list` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(result, ((1, 2), list!(3))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | list!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | list!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | list!(()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | list!(((), list!(1, 2, 3))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | list!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:174:50 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(eval_state_list(&sl, &state), list!(77)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | list!((77, list!(1, 2, 3))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | list!(2, 3, 1) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | list!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | list!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | let lst2 = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | list!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let lst = list!(1, 2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | list!((2, List::::empty())) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state_list.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let lst = list!(2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let state = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(result, (5, list!(1))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let state = list!(1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(result, (1, list!(2, 3))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `list` [INFO] [stdout] --> statelist/src/state.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | let lst = list!(1, 2, 3); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> statelist/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reverse` [INFO] [stdout] --> statelist/src/state.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use ds_13::unsync::list::{List, reverse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> statelist/src/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn make_plan(f: &dyn Fn(&State) -> (A, State)) -> Plan { [INFO] [stdout] | -------------- expected `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` because of return type [INFO] [stdout] 17 | f [INFO] [stdout] | ^ expected struct `Box`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` [INFO] [stdout] found reference `&dyn for<'r> Fn(&'r State) -> (A, State)` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 17 | Box::new(f) [INFO] [stdout] | +++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> statelist/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn mreturn<'a, State: Clone, A: Copy + 'a>(a: A) -> Plan { [INFO] [stdout] | -------------- expected `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` because of return type [INFO] [stdout] 24 | / |s: &State| { [INFO] [stdout] 25 | | (a, s.clone()) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ expected struct `Box`, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'r> Fn(&'r State) -> (A, State) + 'static)>` [INFO] [stdout] found closure `[closure@statelist/src/state.rs:24:5: 26:6]` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 24 ~ Box::new(|s: &State| { [INFO] [stdout] 25 | (a, s.clone()) [INFO] [stdout] 26 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `pl` has lifetime `'a` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> statelist/src/state.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn mbind<'a, State: 'a, A: 'a, B>(pl: &'a Plan, k: impl Fn(A) -> Plan + 'a) -> Plan { [INFO] [stdout] | ------------------ this data with lifetime `'a`... [INFO] [stdout] 30 | Box::new(move |s: &State| { [INFO] [stdout] | ______________^ [INFO] [stdout] 31 | | let (a, s1) = run_plan(Box::new(pl), s); [INFO] [stdout] 32 | | let pl_b = k(a); [INFO] [stdout] 33 | | run_plan(pl_b, &s1) [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____^ ...is captured here, requiring it to live as long as `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `pl` has lifetime `'a` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> statelist/src/state.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn mbind<'a, State: 'a, A: 'a, B>(pl: &'a Plan, k: impl Fn(A) -> Plan + 'a) -> Plan { [INFO] [stdout] | ------------------ this data with lifetime `'a`... [INFO] [stdout] 30 | Box::new(move |s: &State| { [INFO] [stdout] 31 | let (a, s1) = run_plan(Box::new(pl), s); [INFO] [stdout] | ^^ ...is captured here, requiring it to live as long as `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | None => (-1, List::empty()), [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `State: Clone` is not satisfied in `(A, State)` [INFO] [stdout] --> statelist/src/state_list.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fmap(|(a, _state)| *a, &st(s)) [INFO] [stdout] | ^^^^^^ within `(A, State)`, the trait `Clone` is not implemented for `State` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `(A, State)` [INFO] [stdout] note: required by a bound in `ds_13::unsync::list::fmap` [INFO] [stdout] --> /tmp/fixit/ds-13/src/unsync/list.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | T: Clone, [INFO] [stdout] | ^^^^^ required by this bound in `ds_13::unsync::list::fmap` [INFO] [stdout] help: consider restricting type parameter `State` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn eval_state_list(st: &StateList, s: &State) -> List { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | Rc::new(move |_s: &State| PairList::empty()) [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<(_, _)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | None => PairList::empty(), [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<(_, _)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | let mut result = PairList::empty(); [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<(_, _)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let lst = List::::empty(); [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:228:41 [INFO] [stdout] | [INFO] [stdout] 228 | PairList::, i32>::empty() [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<(i32, ds_13::unsync::List)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | List::::empty() [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | PairList::, ()>::empty() [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<((), ds_13::unsync::List)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `ds_13::unsync::List` in the current scope [INFO] [stdout] --> statelist/src/state_list.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | List::<()>::empty() [INFO] [stdout] | ^^^^^ function or associated item not found in `ds_13::unsync::List<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599, E0759. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a4f6cdc3c72dacf0be625350cc14bdbb34b099c33a9c635e6037e5081aec232c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f6cdc3c72dacf0be625350cc14bdbb34b099c33a9c635e6037e5081aec232c", kill_on_drop: false }` [INFO] [stdout] a4f6cdc3c72dacf0be625350cc14bdbb34b099c33a9c635e6037e5081aec232c