[INFO] crate algs4 0.7.0 is already in cache [INFO] testing algs4-0.7.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate algs4 0.7.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate algs4 0.7.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate algs4 0.7.0 [INFO] finished tweaking crates.io crate algs4 0.7.0 [INFO] tweaked toml for crates.io crate algs4 0.7.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sdl2_gfx) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dev-dependencies.sdl2.sdl2 [INFO] [stderr] warning: unused manifest key: dev-dependencies.sdl2_gfx.sdl2_gfx [INFO] [stderr] Blocking waiting for file lock on package cache [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f668df2dd72cf7f741ab047e74e20f5426d2508829b023b2d256bc871050d08a [INFO] running `Command { std: "docker" "start" "-a" "f668df2dd72cf7f741ab047e74e20f5426d2508829b023b2d256bc871050d08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f668df2dd72cf7f741ab047e74e20f5426d2508829b023b2d256bc871050d08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f668df2dd72cf7f741ab047e74e20f5426d2508829b023b2d256bc871050d08a", kill_on_drop: false }` [INFO] [stdout] f668df2dd72cf7f741ab047e74e20f5426d2508829b023b2d256bc871050d08a [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c05a3b70f09d57d9ca8f03bdfeb3ac1bcb34b9b3d24dc8f5fe1cd2dd2b0f78a7 [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" "c05a3b70f09d57d9ca8f03bdfeb3ac1bcb34b9b3d24dc8f5fe1cd2dd2b0f78a7", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sdl2_gfx) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dev-dependencies.sdl2.sdl2 [INFO] [stderr] warning: unused manifest key: dev-dependencies.sdl2_gfx.sdl2_gfx [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling adivon v0.2.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling mtl v0.1.5 [INFO] [stderr] Compiling algs4 v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: global paths cannot start with `self` [INFO] [stdout] --> src/sorting/mod.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub use ::self::mergesort::{merge_sort, merge_bu_sort}; [INFO] [stdout] | ^^^^ global paths cannot start with `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: global paths cannot start with `self` [INFO] [stdout] --> src/sorting/mod.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub use ::self::quicksort::quick_sort; [INFO] [stdout] | ^^^^ global paths cannot start with `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: global paths cannot start with `self` [INFO] [stdout] --> src/sorting/mod.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub use ::self::heapsort::heap_sort; [INFO] [stdout] | ^^^^ global paths cannot start with `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mtl::array` [INFO] [stdout] --> src/context/linear_programming.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use mtl::array::{Array, ArrayType, concatenate}; [INFO] [stdout] | ^^^^^ could not find `array` in `mtl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/resizing_array_queue.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(write!(f, "{:?}, ", item.as_ref().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/resizing_array_queue.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | try!(write!(f, "{:?}, ", item)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/resizing_array_queue.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | try!(write!(f, "{:?}, ", item)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/bag.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(write!(f, "{:?}, ", node.val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/bag.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/bag.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(write_node_to_formatter(f, self.s.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/linked_deque.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | try!(write!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/linked_deque.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/linked_deque.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | try!(write!(f, "{},", p.unwrap().item)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/linked_deque.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | try!(write!(f, ")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/stacks_and_queues/resizing_array_randomized_queue.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | try!(write!(f, "{:?}", self.q)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/union_find/quick_find.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "{} ", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/union_find/quick_union.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(write!(f, "{} ", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/union_find/weighted_quick_union.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | try!(write!(f, "{} ", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/fundamentals/union_find/improved.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(f, "{} ", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | try!(self.inner.write_u8(self.byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(self.inner.write_u8((self.byte << ofs) | (s >> self.bits))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(self.write_u8(byte as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.write_bit(Bit::from_u8((remain >> (w-1)) as u8))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!(self.write_u8((s >> 8) as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(self.write_u16((s >> 16) as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.inner.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | self.byte = try!(self.inner.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(try!(self.inner.read_u8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let next = try!(self.inner.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | r = (r << 8) + try!(self.read_u8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/bits.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | r = (r << 1) + try!(self.read_bit()).to_u8() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | try!(w.write_bit(One)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | try!(w.write_u8(ch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | try!(w.write_bit(Zero)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | try!(Node::write(left.as_ref(), w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | try!(Node::write(right.as_ref(), w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let bit = try!(r.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:64:52 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(Some(Box::new(Node::new_leaf(0, try!(r.read_u8()))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let left = try!(Node::read(r)).map(|n| *n); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let right = try!(Node::read(r)).map(|n| *n); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | try!(buf.write_u32::(self.len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | try!(out.write_bit(b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/huffman.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | let len = try!(inbuf.read_u32::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/lzw.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(out.write_usize(*st.get(s).unwrap() as usize, W)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/lzw.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | try!(out.write_usize(R, W)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/lzw.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | let mut codeword = try!(inbits.read_usize(W)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/lzw.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(buf.write_all(&val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/lzw.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | codeword = try!(inbits.read_usize(W)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | try!(out.write_bit(bit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | try!(out.flush_bits()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/mod.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | try!(buf.write_u8(run)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(buf.write_u8(run)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | try!(buf.write_u8(run)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/strings/data_compression/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(buf.write_u8(run)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/context/linear_programming.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(writeln!(f, "M = {}", m)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/context/linear_programming.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(writeln!(f, "N = {}", n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/context/linear_programming.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(f, "{:7.2}", self.a[[i,j]])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/context/linear_programming.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/context/linear_programming.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try!(writeln!(f, "value = {}", self.value())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/context/linear_programming.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | try!(writeln!(f, "x_{} = {}", self.basis[i], self.a[[i,m+n]])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fundamentals/stacks_and_queues/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn iter(&self) -> Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Node::*` [INFO] [stdout] --> src/strings/data_compression/huffman.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::Node::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::hash::SipHasher': use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/searching/hash_tables/separate_chaining.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher, SipHasher}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::hash::SipHasher': use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/searching/hash_tables/separate_chaining.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let mut hasher = SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::hash::SipHasher': use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/searching/hash_tables/linear_probing.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher, SipHasher}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::hash::SipHasher': use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/searching/hash_tables/linear_probing.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let mut hasher = SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/geometric_search/kd_tree.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::hash::SipHasher::new': use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/searching/hash_tables/separate_chaining.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let mut hasher = SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::hash::SipHasher::new': use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/searching/hash_tables/linear_probing.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let mut hasher = SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | dfa[self.pat.char_at(0) as usize][0] = 1; [INFO] [stdout] | ^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/mod.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | dfa[self.pat.char_at(j) as usize][j] = j+1; // set match case [INFO] [stdout] | ^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/mod.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | x = dfa[self.pat.char_at(j) as usize][x]; // update restart state [INFO] [stdout] | ^^^^^^^ method not found in `&'a 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/strings/mod.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | j = self.dfa[txt.char_at(i) as usize][j]; [INFO] [stdout] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/mod.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | self.right[self.pat.char_at(j) as usize] = j as isize; [INFO] [stdout] | ^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/mod.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | if self.pat.char_at(j) != txt.char_at(i+j) { [INFO] [stdout] | ^^^^^^^ method not found in `&'a 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/strings/mod.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | if self.pat.char_at(j) != txt.char_at(i+j) { [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/strings/mod.rs:114:56 [INFO] [stdout] | [INFO] [stdout] 114 | skip = j as isize - self.right[txt.char_at(i+j) as usize]; [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/strings/mod.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | h = (r * h + key.char_at(j) as usize) % q [INFO] [stdout] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/mod.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | if self.pat.char_at(j) != txt.char_at(i+j) { [INFO] [stdout] | ^^^^^^^ method not found in `&'a 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/strings/mod.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | if self.pat.char_at(j) != txt.char_at(i+j) { [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/strings/mod.rs:205:59 [INFO] [stdout] | [INFO] [stdout] 205 | txt_hash = (txt_hash + self.q - self.rm * txt.char_at(i-self.m) as usize % self.q) % self.q; [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/strings/mod.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 206 | txt_hash = (txt_hash * self.r + txt.char_at(i) as usize) % self.q; [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/strings/mod.rs:225:59 [INFO] [stdout] | [INFO] [stdout] 225 | txt_hash = (txt_hash + self.q - self.rm * txt.char_at(i-self.m) as usize % self.q) % self.q; [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/strings/mod.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | txt_hash = (txt_hash * self.r + txt.char_at(i) as usize) % self.q; [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/strings/regular_expressions/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | if regexp.char_at(i) == '(' || regexp.char_at(i) == '|' { [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/strings/regular_expressions/mod.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | if regexp.char_at(i) == '(' || regexp.char_at(i) == '|' { [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/strings/regular_expressions/mod.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | } else if regexp.char_at(i) == ')' { [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/strings/regular_expressions/mod.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | if regexp.char_at(or) == '|' { [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/strings/regular_expressions/mod.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | } else if regexp.char_at(or) == '(' { [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/strings/regular_expressions/mod.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | if i < m-1 && regexp.char_at(i+1) == '*' { [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/strings/regular_expressions/mod.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | if regexp.char_at(i) == '(' || regexp.char_at(i) == '*' || regexp.char_at(i) == ')' { [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/strings/regular_expressions/mod.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | if regexp.char_at(i) == '(' || regexp.char_at(i) == '*' || regexp.char_at(i) == ')' { [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/strings/regular_expressions/mod.rs:47:79 [INFO] [stdout] | [INFO] [stdout] 47 | if regexp.char_at(i) == '(' || regexp.char_at(i) == '*' || regexp.char_at(i) == ')' { [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/strings/regular_expressions/mod.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | if regexp[v] == txt.char_at(i) || regexp[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/strings/tries/tst.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let c = key.char_at(d); [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/strings/tries/tst.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let c = key.char_at(d); [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/strings/tries/tst.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let c = pattern.char_at(i); [INFO] [stdout] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/strings/tries/tst.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let c = query.char_at(i); [INFO] [stdout] | ^^^^^^^ method not found in `&'a 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/strings/radix_sort.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | s.char_at(d) as isize [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/context/suffix_arrays.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | if query.char_at(j) != self.text[i] { [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/context/suffix_arrays.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | return query.char_at(j) as i32 - self.text[i] as i32; [INFO] [stdout] | ^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::searching::ST` [INFO] [stdout] --> src/geometric_search/interval_search_tree.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::super::searching::ST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `algs4`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c05a3b70f09d57d9ca8f03bdfeb3ac1bcb34b9b3d24dc8f5fe1cd2dd2b0f78a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c05a3b70f09d57d9ca8f03bdfeb3ac1bcb34b9b3d24dc8f5fe1cd2dd2b0f78a7", kill_on_drop: false }` [INFO] [stdout] c05a3b70f09d57d9ca8f03bdfeb3ac1bcb34b9b3d24dc8f5fe1cd2dd2b0f78a7