[INFO] updating cached repository infynyxx/hello_rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/infynyxx/hello_rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/infynyxx/hello_rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infynyxx/hello_rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infynyxx/hello_rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/infynyxx/hello_rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/hello_rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/hello_rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c5369eb9b26df30eb23d568d0815127655c832b1 [INFO] sha for GitHub repo infynyxx/hello_rust: c5369eb9b26df30eb23d568d0815127655c832b1 [INFO] validating manifest of infynyxx/hello_rust on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of infynyxx/hello_rust on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing infynyxx/hello_rust [INFO] finished frobbing infynyxx/hello_rust [INFO] frobbed toml for infynyxx/hello_rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infynyxx/hello_rust/Cargo.toml [INFO] started frobbing infynyxx/hello_rust [INFO] finished frobbing infynyxx/hello_rust [INFO] frobbed toml for infynyxx/hello_rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/hello_rust/Cargo.toml [INFO] crate infynyxx/hello_rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking infynyxx/hello_rust against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/hello_rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9bd874c49ef8d627e92f4511d9126f04f1074885e8db8220ccdb5160be151df6 [INFO] running `"docker" "start" "-a" "9bd874c49ef8d627e92f4511d9126f04f1074885e8db8220ccdb5160be151df6"` [INFO] [stderr] Checking hello_rust v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/lib.rs:38:59 [INFO] [stderr] | [INFO] [stderr] 38 | let secret_number = (rand::random::() % 100u) + 1u; [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/lib.rs:38:67 [INFO] [stderr] | [INFO] [stderr] 38 | let secret_number = (rand::random::() % 100u) + 1u; [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 `i` for integer literal [INFO] [stderr] --> src/lib.rs:138:32 [INFO] [stderr] | [INFO] [stderr] 138 | let result = add_three(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:144:33 [INFO] [stderr] | [INFO] [stderr] 144 | let result = times_four(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:150:31 [INFO] [stderr] | [INFO] [stderr] 150 | let result = add_one(&100i); [INFO] [stderr] | ^^^^ invalid suffix `i` [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/lib.rs:38:59 [INFO] [stderr] | [INFO] [stderr] 38 | let secret_number = (rand::random::() % 100u) + 1u; [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/lib.rs:38:67 [INFO] [stderr] | [INFO] [stderr] 38 | let secret_number = (rand::random::() % 100u) + 1u; [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 `i` for integer literal [INFO] [stderr] --> src/lib.rs:138:32 [INFO] [stderr] | [INFO] [stderr] 138 | let result = add_three(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:144:33 [INFO] [stderr] | [INFO] [stderr] 144 | let result = times_four(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:150:31 [INFO] [stderr] | [INFO] [stderr] 150 | let result = add_one(&100i); [INFO] [stderr] | ^^^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/lib.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:139:20 [INFO] [stderr] | [INFO] [stderr] 139 | assert_eq!(8i, result); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:145:20 [INFO] [stderr] | [INFO] [stderr] 145 | assert_eq!(20i, result); [INFO] [stderr] | ^^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:151:20 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(101i, result); [INFO] [stderr] | ^^^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/lib.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn add_one(x: &int) -> int { *x + 1 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn add_one(x: &int) -> int { *x + 1 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:27:40 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:38:49 [INFO] [stderr] | [INFO] [stderr] 38 | let secret_number = (rand::random::() % 100u) + 1u; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/lib.rs:44:43 [INFO] [stderr] | [INFO] [stderr] 44 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | fn compare(a: uint, b: uint) -> Ordering { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:74:28 [INFO] [stderr] | [INFO] [stderr] 74 | fn compare(a: uint, b: uint) -> Ordering { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREATER` in this scope [INFO] [stderr] --> src/lib.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | if a > b { GREATER } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 32 | use games::Ordering::GREATER; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LESS` in this scope [INFO] [stderr] --> src/lib.rs:76:25 [INFO] [stderr] | [INFO] [stderr] 76 | else if a < b { LESS } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 32 | use games::Ordering::LESS; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EQUAL` in this scope [INFO] [stderr] --> src/lib.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | else { EQUAL } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 32 | use games::Ordering::EQUAL; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:97:38 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn name_size(person: &Person) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | value: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | let node2 = Node {value: 2, next: Some(box node1)}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:125:44 [INFO] [stderr] | [INFO] [stderr] 125 | let node3 = Node {value: 3, next: Some(box node2)}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | let input = io::stdin().read_line() [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/lib.rs:44:58 [INFO] [stderr] | [INFO] [stderr] 44 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `hello_rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn add_one(x: &int) -> int { *x + 1 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn add_one(x: &int) -> int { *x + 1 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:27:40 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:38:49 [INFO] [stderr] | [INFO] [stderr] 38 | let secret_number = (rand::random::() % 100u) + 1u; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/lib.rs:44:43 [INFO] [stderr] | [INFO] [stderr] 44 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | fn compare(a: uint, b: uint) -> Ordering { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:74:28 [INFO] [stderr] | [INFO] [stderr] 74 | fn compare(a: uint, b: uint) -> Ordering { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREATER` in this scope [INFO] [stderr] --> src/lib.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | if a > b { GREATER } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 32 | use games::Ordering::GREATER; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LESS` in this scope [INFO] [stderr] --> src/lib.rs:76:25 [INFO] [stderr] | [INFO] [stderr] 76 | else if a < b { LESS } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 32 | use games::Ordering::LESS; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EQUAL` in this scope [INFO] [stderr] --> src/lib.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | else { EQUAL } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 32 | use games::Ordering::EQUAL; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:97:38 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn name_size(person: &Person) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | value: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | let node2 = Node {value: 2, next: Some(box node1)}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:125:44 [INFO] [stderr] | [INFO] [stderr] 125 | let node3 = Node {value: 3, next: Some(box node2)}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | let input = io::stdin().read_line() [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/lib.rs:44:58 [INFO] [stderr] | [INFO] [stderr] 44 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `hello_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9bd874c49ef8d627e92f4511d9126f04f1074885e8db8220ccdb5160be151df6"` [INFO] running `"docker" "rm" "-f" "9bd874c49ef8d627e92f4511d9126f04f1074885e8db8220ccdb5160be151df6"` [INFO] [stdout] 9bd874c49ef8d627e92f4511d9126f04f1074885e8db8220ccdb5160be151df6