[INFO] cloning repository https://github.com/CerulanLumina/whereisclass [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CerulanLumina/whereisclass" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerulanLumina%2Fwhereisclass", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerulanLumina%2Fwhereisclass'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a986dcd2048cb913b0e1e45c968888650d88931c [INFO] testing CerulanLumina/whereisclass against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerulanLumina%2Fwhereisclass" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CerulanLumina/whereisclass on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CerulanLumina/whereisclass [INFO] finished tweaking git repo https://github.com/CerulanLumina/whereisclass [INFO] tweaked toml for git repo https://github.com/CerulanLumina/whereisclass written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/CerulanLumina/whereisclass already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfd562aaea6d6fa88b1ea1bdadd8ec3d8e45e29dfd59ed77d72331092dd9ab53 [INFO] running `Command { std: "docker" "start" "-a" "bfd562aaea6d6fa88b1ea1bdadd8ec3d8e45e29dfd59ed77d72331092dd9ab53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfd562aaea6d6fa88b1ea1bdadd8ec3d8e45e29dfd59ed77d72331092dd9ab53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd562aaea6d6fa88b1ea1bdadd8ec3d8e45e29dfd59ed77d72331092dd9ab53", kill_on_drop: false }` [INFO] [stdout] bfd562aaea6d6fa88b1ea1bdadd8ec3d8e45e29dfd59ed77d72331092dd9ab53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e087c2b87d023484b2b1f49e7c516adadbc31ebcf61f6b4276f89e6262c690b [INFO] running `Command { std: "docker" "start" "-a" "0e087c2b87d023484b2b1f49e7c516adadbc31ebcf61f6b4276f89e6262c690b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling procedural-masquerade v0.1.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling xmlparser v0.10.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling bimap v0.4.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling roxmltree v0.7.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling dtoa-short v0.3.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling postgres-protocol v0.5.0 [INFO] [stderr] Compiling selectors v0.21.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling postgres-types v0.1.1 [INFO] [stderr] Compiling tokio-util v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling cssparser v0.25.9 [INFO] [stderr] Compiling html5ever v0.24.1 [INFO] [stderr] Compiling cssparser-macros v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-postgres v0.5.3 [INFO] [stderr] Compiling postgres v0.17.2 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling markup5ever v0.9.0 [INFO] [stderr] Compiling scraper v0.11.0 [INFO] [stderr] Compiling whereisclass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/xml_parser.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | impl From for CourseDBError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/xml_parser.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 10 | / fn parse_day(day: Node) -> Result { [INFO] [stdout] 11 | | let day = day.text()?.into(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 12 | | Ok(day) [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 15 | / fn parse_period(period_node: Node, strict: bool) -> Result { [INFO] [stdout] 16 | | let time_regex = regex::Regex::new(r#"^\d+$"#).unwrap(); [INFO] [stdout] 17 | | let time_start = period_node.attribute("start")?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 18 | | let time_end = period_node.attribute("end")?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(period) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 15 | / fn parse_period(period_node: Node, strict: bool) -> Result { [INFO] [stdout] 16 | | let time_regex = regex::Regex::new(r#"^\d+$"#).unwrap(); [INFO] [stdout] 17 | | let time_start = period_node.attribute("start")?; [INFO] [stdout] 18 | | let time_end = period_node.attribute("end")?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(period) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 15 | / fn parse_period(period_node: Node, strict: bool) -> Result { [INFO] [stdout] 16 | | let time_regex = regex::Regex::new(r#"^\d+$"#).unwrap(); [INFO] [stdout] 17 | | let time_start = period_node.attribute("start")?; [INFO] [stdout] 18 | | let time_end = period_node.attribute("end")?; [INFO] [stdout] ... | [INFO] [stdout] 30 | | let instructor = period_node.attribute("instructor")?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(period) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 63 | / fn parse_note(note: Node) -> Result { [INFO] [stdout] 64 | | let note = note.text()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 65 | | Ok(note) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 68 | / fn parse_section(section_node: Node, strict: bool) -> Result { [INFO] [stdout] 69 | | let crn = section_node.attribute("crn")?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 70 | | let crn = u32::from_str(crn)?; [INFO] [stdout] 71 | | let num = section_node.attribute("num")?; [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(section) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 68 | / fn parse_section(section_node: Node, strict: bool) -> Result { [INFO] [stdout] 69 | | let crn = section_node.attribute("crn")?; [INFO] [stdout] 70 | | let crn = u32::from_str(crn)?; [INFO] [stdout] 71 | | let num = section_node.attribute("num")?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(section) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 124 | / fn parse_course(course_node: Node, strict: bool) -> Result { [INFO] [stdout] 125 | | let name = course_node.attribute("name")?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 126 | | let dept = course_node.attribute("dept")?.to_string(); [INFO] [stdout] 127 | | let num = course_node.attribute("num")?; [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(course) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 124 | / fn parse_course(course_node: Node, strict: bool) -> Result { [INFO] [stdout] 125 | | let name = course_node.attribute("name")?.to_string(); [INFO] [stdout] 126 | | let dept = course_node.attribute("dept")?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 127 | | let num = course_node.attribute("num")?; [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(course) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/xml_parser.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 124 | / fn parse_course(course_node: Node, strict: bool) -> Result { [INFO] [stdout] 125 | | let name = course_node.attribute("name")?.to_string(); [INFO] [stdout] 126 | | let dept = course_node.attribute("dept")?.to_string(); [INFO] [stdout] 127 | | let num = course_node.attribute("num")?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(course) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whereisclass` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "0e087c2b87d023484b2b1f49e7c516adadbc31ebcf61f6b4276f89e6262c690b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e087c2b87d023484b2b1f49e7c516adadbc31ebcf61f6b4276f89e6262c690b", kill_on_drop: false }` [INFO] [stdout] 0e087c2b87d023484b2b1f49e7c516adadbc31ebcf61f6b4276f89e6262c690b