[INFO] updating cached repository tthorn/Enums [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tthorn/Enums [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tthorn/Enums" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/tthorn/Enums"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/tthorn/Enums'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tthorn/Enums" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/tthorn/Enums"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/tthorn/Enums'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 25ed9cdfc10d9c1bdb2bccdcfe8f79da26a7c36b [INFO] sha for GitHub repo tthorn/Enums: 25ed9cdfc10d9c1bdb2bccdcfe8f79da26a7c36b [INFO] validating manifest of tthorn/Enums on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tthorn/Enums on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tthorn/Enums [INFO] finished frobbing tthorn/Enums [INFO] frobbed toml for tthorn/Enums written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/tthorn/Enums/Cargo.toml [INFO] started frobbing tthorn/Enums [INFO] finished frobbing tthorn/Enums [INFO] frobbed toml for tthorn/Enums written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/tthorn/Enums/Cargo.toml [INFO] crate tthorn/Enums already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking tthorn/Enums against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-7/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/tthorn/Enums:/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" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c6a2bb8ca6808a3f48ab02b48c6144b787fcbbf4ab98e20a20f9395b228fcc13 [INFO] running `"docker" "start" "-a" "c6a2bb8ca6808a3f48ab02b48c6144b787fcbbf4ab98e20a20f9395b228fcc13"` [INFO] [stderr] Checking enums v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | fn findSign(a: int) -> Sign { [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:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | 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/main.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | fn findSign(a: int) -> Sign { [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:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | 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/main.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | let input = io::stdin().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:19:49 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `enums`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:19:49 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `enums`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c6a2bb8ca6808a3f48ab02b48c6144b787fcbbf4ab98e20a20f9395b228fcc13"` [INFO] running `"docker" "rm" "-f" "c6a2bb8ca6808a3f48ab02b48c6144b787fcbbf4ab98e20a20f9395b228fcc13"` [INFO] [stdout] c6a2bb8ca6808a3f48ab02b48c6144b787fcbbf4ab98e20a20f9395b228fcc13