[INFO] cloning repository https://github.com/andresilva/rust-okasaki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andresilva/rust-okasaki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresilva%2Frust-okasaki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresilva%2Frust-okasaki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0f298d49be46ba9899f78944ec2b0fbbf64885 [INFO] checking andresilva/rust-okasaki/da0f298d49be46ba9899f78944ec2b0fbbf64885 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresilva%2Frust-okasaki" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andresilva/rust-okasaki on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andresilva/rust-okasaki [INFO] finished tweaking git repo https://github.com/andresilva/rust-okasaki [INFO] tweaked toml for git repo https://github.com/andresilva/rust-okasaki written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andresilva/rust-okasaki 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b39f766bae1b07f48d8ea0e5575254ce254e823bbbbcbe24c02efa94faf6c8e6 [INFO] running `Command { std: "docker" "start" "-a" "b39f766bae1b07f48d8ea0e5575254ce254e823bbbbcbe24c02efa94faf6c8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b39f766bae1b07f48d8ea0e5575254ce254e823bbbbcbe24c02efa94faf6c8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39f766bae1b07f48d8ea0e5575254ce254e823bbbbcbe24c02efa94faf6c8e6", kill_on_drop: false }` [INFO] [stdout] b39f766bae1b07f48d8ea0e5575254ce254e823bbbbcbe24c02efa94faf6c8e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67f06e0fa79a2c6ef6ce39e0ad185b3d7e7c6a627fe838f821467815f1d11b71 [INFO] running `Command { std: "docker" "start" "-a" "67f06e0fa79a2c6ef6ce39e0ad185b3d7e7c6a627fe838f821467815f1d11b71", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking okasaki v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/tree.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/tree_layout.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/tree.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/tree_layout.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | aux(current.tail().to_vec(), next, o); [INFO] [stdout] | ^^^^ method not found in `Vec>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | aux(current.tail().to_vec(), next, o); [INFO] [stdout] | ^^^^ method not found in `Vec>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | let mut r = aux(es.tail().to_vec(), merge_extent(acc.clone(), move_extent(e.clone().to_vec(), x))); [INFO] [stdout] | ^^^^ method not found in `Vec>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | let mut r = aux(es.tail().to_vec(), merge_extent(acc.clone(), move_extent(e.clone().to_vec(), x))); [INFO] [stdout] | ^^^^ method not found in `Vec>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:199:61 [INFO] [stdout] | [INFO] [stdout] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | children.insert(k1.char_at(0), Rc::new(add_children(self, k1.to_string(), v))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() })]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<(f64, f64)>` in the current scope [INFO] [stdout] --> src/tree_layout.rs:199:61 [INFO] [stdout] | [INFO] [stdout] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stdout] | ^^^^ method not found in `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Stack` defines an item `tail`, perhaps you need to implement it [INFO] [stdout] --> src/stack.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() }), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | k2.char_at(0) => Rc::new(Node { key: k2.to_string(), value: Some(v), children: hashmap![] })]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | children.insert(k1.char_at(0), Rc::new(add_children(self, k1.to_string(), v))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for struct `String` in the current scope [INFO] [stdout] --> src/trie.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | match children.get(&k.char_at(0)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() })]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() }), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for struct `String` in the current scope [INFO] [stdout] --> src/trie.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | match children.get(&k.char_at(key.len())) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/trie.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | k2.char_at(0) => Rc::new(Node { key: k2.to_string(), value: Some(v), children: hashmap![] })]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for struct `String` in the current scope [INFO] [stdout] --> src/trie.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | match children.get(&k.char_at(0)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for struct `String` in the current scope [INFO] [stdout] --> src/trie.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | match children.get(&k.char_at(key.len())) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/str/mod.rs:864:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okasaki` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okasaki` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "67f06e0fa79a2c6ef6ce39e0ad185b3d7e7c6a627fe838f821467815f1d11b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f06e0fa79a2c6ef6ce39e0ad185b3d7e7c6a627fe838f821467815f1d11b71", kill_on_drop: false }` [INFO] [stdout] 67f06e0fa79a2c6ef6ce39e0ad185b3d7e7c6a627fe838f821467815f1d11b71