[INFO] cloning repository exitc0de/SDT_RS [INFO] running `"git" "clone" "--bare" "git://github.com/exitc0de/SDT_RS.git" "work/cache/sources/gh/exitc0de/SDT_RS"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/exitc0de/SDT_RS'... [INFO] running `"git" "clone" "work/cache/sources/gh/exitc0de/SDT_RS" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/exitc0de/SDT_RS"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/exitc0de/SDT_RS'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/exitc0de/SDT_RS" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/exitc0de/SDT_RS"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/exitc0de/SDT_RS'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5799dca082d1078c887d3d4c7b37254af38d37bf [INFO] sha for GitHub repo exitc0de/SDT_RS: 5799dca082d1078c887d3d4c7b37254af38d37bf [INFO] validating manifest of exitc0de/SDT_RS on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of exitc0de/SDT_RS on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing exitc0de/SDT_RS [INFO] finished frobbing exitc0de/SDT_RS [INFO] frobbed toml for exitc0de/SDT_RS written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/exitc0de/SDT_RS/Cargo.toml [INFO] started frobbing exitc0de/SDT_RS [INFO] finished frobbing exitc0de/SDT_RS [INFO] frobbed toml for exitc0de/SDT_RS written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/exitc0de/SDT_RS/Cargo.toml [INFO] crate exitc0de/SDT_RS already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking exitc0de/SDT_RS against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-4/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/exitc0de/SDT_RS:/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" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 77f874b5b82095c57c2a34a193a2a0181282601f310eaf87385dcdbf1b3d5b3a [INFO] running `"docker" "start" "-a" "77f874b5b82095c57c2a34a193a2a0181282601f310eaf87385dcdbf1b3d5b3a"` [INFO] [stderr] Checking atmRs v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | print!("Would you like to calculate 'speed', 'distance' or 'time'?\n> ") [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 25 | let calcType = (reader.read_line().ok().expect("Failed to read line")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 55 | print!("Please enter the value for {}!\n> ", firstParam) [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 56 | let input1 = (reader.read_line().ok().expect("Failed to read line")).to_string(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | print!("Would you like to calculate 'speed', 'distance' or 'time'?\n> ") [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 25 | let calcType = (reader.read_line().ok().expect("Failed to read line")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 55 | print!("Please enter the value for {}!\n> ", firstParam) [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 56 | let input1 = (reader.read_line().ok().expect("Failed to read line")).to_string(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:57:24 [INFO] [stderr] | [INFO] [stderr] 57 | let firstval = from_str::(input1.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/main.rs:69:25 [INFO] [stderr] | [INFO] [stderr] 69 | let secondval = from_str::(input2.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | let calcType = (reader.read_line().ok().expect("Failed to read line")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | let calcType = (reader.read_line().ok().expect("Failed to read line")); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:57:24 [INFO] [stderr] | [INFO] [stderr] 57 | let firstval = from_str::(input1.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/main.rs:69:25 [INFO] [stderr] | [INFO] [stderr] 69 | let secondval = from_str::(input2.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | let calcType = (reader.read_line().ok().expect("Failed to read line")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | let calcType = (reader.read_line().ok().expect("Failed to 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/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | match calcType.as_slice().trim() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | match calcType.as_slice().trim() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | calcP = calc_distance; [INFO] [stderr] | ^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(f64, f64) -> (f64, std::string::String) {calc_speed}` [INFO] [stderr] found type `fn(f64, f64) -> (f64, std::string::String) {calc_distance}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | calcP = calc_time; [INFO] [stderr] | ^^^^^^^^^ expected fn item, found a different fn item [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(f64, f64) -> (f64, std::string::String) {calc_speed}` [INFO] [stderr] found type `fn(f64, f64) -> (f64, std::string::String) {calc_time}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `trim` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:50:82 [INFO] [stderr] | [INFO] [stderr] 50 | println!("Please enter a float value, you entered {}.", calcType.trim()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:56:30 [INFO] [stderr] | [INFO] [stderr] 56 | let input1 = (reader.read_line().ok().expect("Failed to read line")).to_string(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:57:47 [INFO] [stderr] | [INFO] [stderr] 57 | let firstval = from_str::(input1.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::option::Option<_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:62:68 [INFO] [stderr] | [INFO] [stderr] 62 | println!("Please input a number, you entered {}!", firstval); [INFO] [stderr] | ^^^^^^^^ `std::option::Option<_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | let input2 = (reader.read_line().ok().expect("Failed to read line")).to_string(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:69:48 [INFO] [stderr] | [INFO] [stderr] 69 | let secondval = from_str::(input2.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::option::Option<_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:74:55 [INFO] [stderr] | [INFO] [stderr] 74 | println!("Please input a number {}!", secondval); [INFO] [stderr] | ^^^^^^^^^ `std::option::Option<_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | calcP = calc_distance; [INFO] [stderr] | ^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(f64, f64) -> (f64, std::string::String) {calc_speed}` [INFO] [stderr] found type `fn(f64, f64) -> (f64, std::string::String) {calc_distance}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `atmRs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | calcP = calc_time; [INFO] [stderr] | ^^^^^^^^^ expected fn item, found a different fn item [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(f64, f64) -> (f64, std::string::String) {calc_speed}` [INFO] [stderr] found type `fn(f64, f64) -> (f64, std::string::String) {calc_time}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `trim` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:50:82 [INFO] [stderr] | [INFO] [stderr] 50 | println!("Please enter a float value, you entered {}.", calcType.trim()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:56:30 [INFO] [stderr] | [INFO] [stderr] 56 | let input1 = (reader.read_line().ok().expect("Failed to read line")).to_string(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:57:47 [INFO] [stderr] | [INFO] [stderr] 57 | let firstval = from_str::(input1.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::option::Option<_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:62:68 [INFO] [stderr] | [INFO] [stderr] 62 | println!("Please input a number, you entered {}!", firstval); [INFO] [stderr] | ^^^^^^^^ `std::option::Option<_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | let input2 = (reader.read_line().ok().expect("Failed to read line")).to_string(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:69:48 [INFO] [stderr] | [INFO] [stderr] 69 | let secondval = from_str::(input2.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::option::Option<_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:74:55 [INFO] [stderr] | [INFO] [stderr] 74 | println!("Please input a number {}!", secondval); [INFO] [stderr] | ^^^^^^^^^ `std::option::Option<_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `atmRs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "77f874b5b82095c57c2a34a193a2a0181282601f310eaf87385dcdbf1b3d5b3a"` [INFO] running `"docker" "rm" "-f" "77f874b5b82095c57c2a34a193a2a0181282601f310eaf87385dcdbf1b3d5b3a"` [INFO] [stdout] 77f874b5b82095c57c2a34a193a2a0181282601f310eaf87385dcdbf1b3d5b3a