[INFO] updating cached repository https://github.com/wilsoniya/dailyprog188-arrows [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f6070f7a0fe9fda9f6d37b99e188aa6d52f1a1f4 [INFO] checking wilsoniya/dailyprog188-arrows against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilsoniya%2Fdailyprog188-arrows" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wilsoniya/dailyprog188-arrows on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/wilsoniya/dailyprog188-arrows [INFO] finished tweaking git repo https://github.com/wilsoniya/dailyprog188-arrows [INFO] tweaked toml for git repo https://github.com/wilsoniya/dailyprog188-arrows written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/wilsoniya/dailyprog188-arrows already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3bc3cc32f9ba3e3c9a66e780c40667d50c69a21c8d892433f1add5c439a7756c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "3bc3cc32f9ba3e3c9a66e780c40667d50c69a21c8d892433f1add5c439a7756c"` [INFO] [stderr] Checking arrows v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:113:21 [INFO] [stderr] | [INFO] [stderr] 113 | let mut i = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | if cycle_start != 0u { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:149:30 [INFO] [stderr] | [INFO] [stderr] 149 | let mut max_length = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:113:21 [INFO] [stderr] | [INFO] [stderr] 113 | let mut i = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | if cycle_start != 0u { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:149:30 [INFO] [stderr] | [INFO] [stderr] 149 | let mut max_length = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedReader` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{File, BufferedReader}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[deriving(Show, Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:166:3 [INFO] [stderr] | [INFO] [stderr] 166 | #[deriving(Show, Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:67:20 [INFO] [stderr] | [INFO] [stderr] 67 | let path = Path::new(fname); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedReader` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{File, BufferedReader}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[deriving(Show, Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:166:3 [INFO] [stderr] | [INFO] [stderr] 166 | #[deriving(Show, Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:9:43 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | let dim = dimension as int; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | let new = (pos as int) + delta; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | true => (new % dim) as uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 14 | false => (dim + new) as uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:57:16 [INFO] [stderr] | [INFO] [stderr] 57 | pub width: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | pub height: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `from_str` in this scope [INFO] [stderr] --> src/main.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | .filter_map(from_str).collect::>().as_slice() { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:73:49 [INFO] [stderr] | [INFO] [stderr] 64 | impl GraphMeta { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 73 | .filter_map(from_str).collect::>().as_slice() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:104:37 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_cycle_from(&self, x: uint, y: uint) -> Cycle { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_cycle_from(&self, x: uint, y: uint) -> Cycle { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `as_vec` in module `std::vec` [INFO] [stderr] --> src/main.rs:137:23 [INFO] [stderr] | [INFO] [stderr] 137 | std::vec::as_vec(cycle.slice_from_or_fail(&cycle_start)).deref() [INFO] [stderr] | ^^^^^^ not found in `std::vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:152:18 [INFO] [stderr] | [INFO] [stderr] 152 | for x in range(0, self.width) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:153:22 [INFO] [stderr] | [INFO] [stderr] 153 | for y in range(0, self.height) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:168:12 [INFO] [stderr] | [INFO] [stderr] 168 | pub x: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:67:20 [INFO] [stderr] | [INFO] [stderr] 67 | let path = Path::new(fname); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | pub y: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:179:14 [INFO] [stderr] | [INFO] [stderr] 179 | for _ in range(0, meta.height) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:181:18 [INFO] [stderr] | [INFO] [stderr] 181 | for _ in range(0, meta.width) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:197:20 [INFO] [stderr] | [INFO] [stderr] 197 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:9:43 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | fn step(pos: uint, delta: int, dimension: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | let dim = dimension as int; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | let new = (pos as int) + delta; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | true => (new % dim) as uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 14 | false => (dim + new) as uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:57:16 [INFO] [stderr] | [INFO] [stderr] 57 | pub width: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | pub height: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `from_str` in this scope [INFO] [stderr] --> src/main.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | .filter_map(from_str).collect::>().as_slice() { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:73:49 [INFO] [stderr] | [INFO] [stderr] 64 | impl GraphMeta { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 73 | .filter_map(from_str).collect::>().as_slice() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:104:37 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_cycle_from(&self, x: uint, y: uint) -> Cycle { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_cycle_from(&self, x: uint, y: uint) -> Cycle { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `as_vec` in module `std::vec` [INFO] [stderr] --> src/main.rs:137:23 [INFO] [stderr] | [INFO] [stderr] 137 | std::vec::as_vec(cycle.slice_from_or_fail(&cycle_start)).deref() [INFO] [stderr] | ^^^^^^ not found in `std::vec` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:152:18 [INFO] [stderr] | [INFO] [stderr] 152 | for x in range(0, self.width) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:153:22 [INFO] [stderr] | [INFO] [stderr] 153 | for y in range(0, self.height) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:168:12 [INFO] [stderr] | [INFO] [stderr] 168 | pub x: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | pub y: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:179:14 [INFO] [stderr] | [INFO] [stderr] 179 | for _ in range(0, meta.height) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:181:18 [INFO] [stderr] | [INFO] [stderr] 181 | for _ in range(0, meta.width) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:197:20 [INFO] [stderr] | [INFO] [stderr] 197 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:72:51 [INFO] [stderr] | [INFO] [stderr] 72 | let (width, height) = match file_lines[0].as_slice().trim().split(' ') [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | line.as_slice().trim().chars().map(Direction::from_glyph) [INFO] [stderr] | ^^^^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:72:51 [INFO] [stderr] | [INFO] [stderr] 72 | let (width, height) = match file_lines[0].as_slice().trim().split(' ') [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from_or_fail` found for struct `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:137:36 [INFO] [stderr] | [INFO] [stderr] 137 | std::vec::as_vec(cycle.slice_from_or_fail(&cycle_start)).deref() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_chars` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:192:32 [INFO] [stderr] | [INFO] [stderr] 192 | println!("{}", String::from_chars(line.as_slice())); [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | line.as_slice().trim().chars().map(Direction::from_glyph) [INFO] [stderr] | ^^^^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0599]: no method named `slice_from_or_fail` found for struct `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:137:36 [INFO] [stderr] | [INFO] [stderr] 137 | std::vec::as_vec(cycle.slice_from_or_fail(&cycle_start)).deref() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_chars` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:192:32 [INFO] [stderr] | [INFO] [stderr] 192 | println!("{}", String::from_chars(line.as_slice())); [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: could not compile `arrows`. [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] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `arrows`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3bc3cc32f9ba3e3c9a66e780c40667d50c69a21c8d892433f1add5c439a7756c"` [INFO] running `"docker" "rm" "-f" "3bc3cc32f9ba3e3c9a66e780c40667d50c69a21c8d892433f1add5c439a7756c"` [INFO] [stdout] 3bc3cc32f9ba3e3c9a66e780c40667d50c69a21c8d892433f1add5c439a7756c