[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 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresilva%2Frust-okasaki" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andresilva/rust-okasaki on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b5420fe925bde3df222501afa091f30c2b16d1c27717cf5ff803a5685a43a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b3b5420fe925bde3df222501afa091f30c2b16d1c27717cf5ff803a5685a43a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b5420fe925bde3df222501afa091f30c2b16d1c27717cf5ff803a5685a43a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b5420fe925bde3df222501afa091f30c2b16d1c27717cf5ff803a5685a43a0", kill_on_drop: false }` [INFO] [stdout] b3b5420fe925bde3df222501afa091f30c2b16d1c27717cf5ff803a5685a43a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f9768075b479c57a6a7063ca4d7af8012442160a324bcf3a8f6ca180ce5cc05 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f9768075b479c57a6a7063ca4d7af8012442160a324bcf3a8f6ca180ce5cc05", 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] [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] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | try!(aux(f, r, true, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(writeln!(f, "(#{}, {})", rank, x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | try!(aux(f, r, true, &(indent.to_string() + if right { " " } else { " | " }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | try!(writeln!(f, "(#{}, {})", rank, x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/heap.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if (root(t) < root(&t1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | try!(_loop(f, self, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | if first { try!(write!(f, "{}", h)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | else { try!(write!(f, ", {}", h)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(aux(f, r, true, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(f, "({})", x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | try!(aux(f, r, true, &(indent.to_string() + if right { " " } else { " | " }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | try!(writeln!(f, "({})", x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/tree_layout.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | for _ in (0..n) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | try!(write!(f, "\\-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "|-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | try!(write!(f, "{}", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | Some(ref v) => try!(write!(f, " => ({})", v)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | try!(aux(c, indent.clone(), i == children.len() - 1, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | try!(aux(f, r, true, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(writeln!(f, "(#{}, {})", rank, x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | try!(aux(f, r, true, &(indent.to_string() + if right { " " } else { " | " }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | try!(writeln!(f, "(#{}, {})", rank, x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/heap.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/heap.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if (root(t) < root(&t1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | try!(_loop(f, self, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | if first { try!(write!(f, "{}", h)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stack.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | else { try!(write!(f, ", {}", h)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(aux(f, r, true, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(f, "({})", x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | try!(aux(f, r, true, &(indent.to_string() + if right { " " } else { " | " }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | try!(writeln!(f, "({})", x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | try!(if right { write!(f, "{}", " /") } else { write!(f, "{}", " \\") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tree.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | try!(write!(f, "{}", "----- ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/tree_layout.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | for _ in (0..n) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "{}", indent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | try!(write!(f, "\\-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "|-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | try!(write!(f, "{}", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | Some(ref v) => try!(write!(f, " => ({})", v)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trie.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | try!(aux(c, indent.clone(), i == children.len() - 1, f)); [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<(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>` 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 `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] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `String` [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] | ^^^^^^^ method not found in `String` [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: aborting due to 14 previous errors; 34 warnings emitted [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] [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<(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:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | children.insert(k1.char_at(0), Rc::new(add_children(self, k1.to_string(), v))); [INFO] [stdout] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okasaki` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `&str` [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] | ^^^^^^^ method not found in `String` [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] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 34 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "9f9768075b479c57a6a7063ca4d7af8012442160a324bcf3a8f6ca180ce5cc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9768075b479c57a6a7063ca4d7af8012442160a324bcf3a8f6ca180ce5cc05", kill_on_drop: false }` [INFO] [stdout] 9f9768075b479c57a6a7063ca4d7af8012442160a324bcf3a8f6ca180ce5cc05