[INFO] updating cached repository andresilva/rust-okasaki [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/andresilva/rust-okasaki [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/andresilva/rust-okasaki" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/andresilva/rust-okasaki"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/andresilva/rust-okasaki'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/andresilva/rust-okasaki" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/andresilva/rust-okasaki"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/andresilva/rust-okasaki'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] da0f298d49be46ba9899f78944ec2b0fbbf64885 [INFO] sha for GitHub repo andresilva/rust-okasaki: da0f298d49be46ba9899f78944ec2b0fbbf64885 [INFO] validating manifest of andresilva/rust-okasaki on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of andresilva/rust-okasaki on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing andresilva/rust-okasaki [INFO] finished frobbing andresilva/rust-okasaki [INFO] frobbed toml for andresilva/rust-okasaki written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/andresilva/rust-okasaki/Cargo.toml [INFO] started frobbing andresilva/rust-okasaki [INFO] finished frobbing andresilva/rust-okasaki [INFO] frobbed toml for andresilva/rust-okasaki written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/andresilva/rust-okasaki/Cargo.toml [INFO] crate andresilva/rust-okasaki already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking andresilva/rust-okasaki against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-0/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/andresilva/rust-okasaki:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1d9d39326a73693eb7712eea3d2ed03f250b7e562ee4cc26f030bffaa3165684 [INFO] running `"docker" "start" "-a" "1d9d39326a73693eb7712eea3d2ed03f250b7e562ee4cc26f030bffaa3165684"` [INFO] [stderr] Checking okasaki v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/tree.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/tree_layout.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/heap.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | if (root(t) < root(&t1)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/tree.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/tree_layout.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | for _ in (0..n) { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/tree.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/tree_layout.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/heap.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | if (root(t) < root(&t1)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/tree.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/tree_layout.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | for _ in (0..n) { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:45:29 [INFO] [stderr] | [INFO] [stderr] 45 | aux(current.tail().to_vec(), next, o); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:172:36 [INFO] [stderr] | [INFO] [stderr] 172 | let mut r = aux(es.tail().to_vec(), merge_extent(acc.clone(), move_extent(e.clone().to_vec(), x))); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:189:25 [INFO] [stderr] | [INFO] [stderr] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:189:45 [INFO] [stderr] | [INFO] [stderr] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:199:41 [INFO] [stderr] | [INFO] [stderr] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:199:61 [INFO] [stderr] | [INFO] [stderr] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | children.insert(k1.char_at(0), Rc::new(add_children(self, k1.to_string(), v))); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() })]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() }), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | k2.char_at(0) => Rc::new(Node { key: k2.to_string(), value: Some(v), children: hashmap![] })]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/trie.rs:38:43 [INFO] [stderr] | [INFO] [stderr] 38 | match children.get(&k.char_at(0)) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/trie.rs:97:43 [INFO] [stderr] | [INFO] [stderr] 97 | match children.get(&k.char_at(key.len())) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:45:29 [INFO] [stderr] | [INFO] [stderr] 45 | aux(current.tail().to_vec(), next, o); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error: Could not compile `okasaki`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:172:36 [INFO] [stderr] | [INFO] [stderr] 172 | let mut r = aux(es.tail().to_vec(), merge_extent(acc.clone(), move_extent(e.clone().to_vec(), x))); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:189:25 [INFO] [stderr] | [INFO] [stderr] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:189:45 [INFO] [stderr] | [INFO] [stderr] 189 | rmax(fit(e1.tail().to_vec(), e2.tail().to_vec()), p - q + 1.0), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:199:41 [INFO] [stderr] | [INFO] [stderr] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<(f64, f64)>` in the current scope [INFO] [stderr] --> src/tree_layout.rs:199:61 [INFO] [stderr] | [INFO] [stderr] 199 | let mut m = merge_extent(e1.tail().to_vec(), e2.tail().to_vec()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `tail`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `stack::Stack` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | children.insert(k1.char_at(0), Rc::new(add_children(self, k1.to_string(), v))); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() })]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | k1.char_at(0) => Rc::new(Node { key: k1.to_string(), value: value.clone(), children: children.clone() }), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/trie.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | k2.char_at(0) => Rc::new(Node { key: k2.to_string(), value: Some(v), children: hashmap![] })]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/trie.rs:38:43 [INFO] [stderr] | [INFO] [stderr] 38 | match children.get(&k.char_at(0)) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/trie.rs:97:43 [INFO] [stderr] | [INFO] [stderr] 97 | match children.get(&k.char_at(key.len())) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `okasaki`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1d9d39326a73693eb7712eea3d2ed03f250b7e562ee4cc26f030bffaa3165684"` [INFO] running `"docker" "rm" "-f" "1d9d39326a73693eb7712eea3d2ed03f250b7e562ee4cc26f030bffaa3165684"` [INFO] [stdout] 1d9d39326a73693eb7712eea3d2ed03f250b7e562ee4cc26f030bffaa3165684