[INFO] cloning repository https://github.com/awoimbee/sf4_updater [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awoimbee/sf4_updater" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawoimbee%2Fsf4_updater", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawoimbee%2Fsf4_updater'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 338abed4766951ccf9e48e837f08d124c1893d90 [INFO] checking awoimbee/sf4_updater against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawoimbee%2Fsf4_updater" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awoimbee/sf4_updater on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awoimbee/sf4_updater [INFO] finished tweaking git repo https://github.com/awoimbee/sf4_updater [INFO] tweaked toml for git repo https://github.com/awoimbee/sf4_updater written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/awoimbee/sf4_updater already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c9d845cd571226393d3cb6951b9d8b7f329557bc2cad96625fe83468f2dcc0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c9d845cd571226393d3cb6951b9d8b7f329557bc2cad96625fe83468f2dcc0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c9d845cd571226393d3cb6951b9d8b7f329557bc2cad96625fe83468f2dcc0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9d845cd571226393d3cb6951b9d8b7f329557bc2cad96625fe83468f2dcc0b", kill_on_drop: false }` [INFO] [stdout] 7c9d845cd571226393d3cb6951b9d8b7f329557bc2cad96625fe83468f2dcc0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 405ed65e770e4894a5c40dea976578617b49a5e5283b5f9304537c56a435bc81 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "405ed65e770e4894a5c40dea976578617b49a5e5283b5f9304537c56a435bc81", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking sf4_updater v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(unsized_locals)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #48055 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(unsized_locals)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #48055 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 50 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 51 | | let esdv = yaml["entity_search_dirs"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 52 | | for e_s_d in esdv { [INFO] [stdout] 53 | | let entity_nspace_alias = e_s_d[0].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 50 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 51 | | let esdv = yaml["entity_search_dirs"].as_vec()?; [INFO] [stdout] 52 | | for e_s_d in esdv { [INFO] [stdout] 53 | | let entity_nspace_alias = e_s_d[0].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 50 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 51 | | let esdv = yaml["entity_search_dirs"].as_vec()?; [INFO] [stdout] 52 | | for e_s_d in esdv { [INFO] [stdout] 53 | | let entity_nspace_alias = e_s_d[0].as_str()?.to_owned(); [INFO] [stdout] 54 | | let entity_nspace = e_s_d[1].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 66 | | let ns_s_dv = yaml["namespace_search_dirs"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 67 | | for ns_s_d in ns_s_dv { [INFO] [stdout] 68 | | let nspace = ns_s_d[0].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(()) [INFO] [stdout] 73 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 66 | | let ns_s_dv = yaml["namespace_search_dirs"].as_vec()?; [INFO] [stdout] 67 | | for ns_s_d in ns_s_dv { [INFO] [stdout] 68 | | let nspace = ns_s_d[0].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(()) [INFO] [stdout] 73 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 66 | | let ns_s_dv = yaml["namespace_search_dirs"].as_vec()?; [INFO] [stdout] 67 | | for ns_s_d in ns_s_dv { [INFO] [stdout] 68 | | let nspace = ns_s_d[0].as_str()?.to_owned(); [INFO] [stdout] 69 | | let path = ns_s_d[1].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(()) [INFO] [stdout] 73 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 81 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 82 | | let a_s_a_v = yaml["additionnal_service_aliases"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 83 | | for a_s_a in a_s_a_v { [INFO] [stdout] 84 | | let pointy_name = a_s_a[0].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 81 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 82 | | let a_s_a_v = yaml["additionnal_service_aliases"].as_vec()?; [INFO] [stdout] 83 | | for a_s_a in a_s_a_v { [INFO] [stdout] 84 | | let pointy_name = a_s_a[0].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 81 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 82 | | let a_s_a_v = yaml["additionnal_service_aliases"].as_vec()?; [INFO] [stdout] 83 | | for a_s_a in a_s_a_v { [INFO] [stdout] 84 | | let pointy_name = a_s_a[0].as_str()?.to_owned(); [INFO] [stdout] 85 | | let psr_name = a_s_a[1].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 97 | | let a_s_a_v = yaml["bundles"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 98 | | for a_s_a in a_s_a_v { [INFO] [stdout] 99 | | let name = a_s_a["name"].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 97 | | let a_s_a_v = yaml["bundles"].as_vec()?; [INFO] [stdout] 98 | | for a_s_a in a_s_a_v { [INFO] [stdout] 99 | | let name = a_s_a["name"].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 97 | | let a_s_a_v = yaml["bundles"].as_vec()?; [INFO] [stdout] 98 | | for a_s_a in a_s_a_v { [INFO] [stdout] 99 | | let name = a_s_a["name"].as_str()?.to_owned(); [INFO] [stdout] 100 | | let path = a_s_a["path"].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 50 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 51 | | let esdv = yaml["entity_search_dirs"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 52 | | for e_s_d in esdv { [INFO] [stdout] 53 | | let entity_nspace_alias = e_s_d[0].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 50 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 51 | | let esdv = yaml["entity_search_dirs"].as_vec()?; [INFO] [stdout] 52 | | for e_s_d in esdv { [INFO] [stdout] 53 | | let entity_nspace_alias = e_s_d[0].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 50 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 51 | | let esdv = yaml["entity_search_dirs"].as_vec()?; [INFO] [stdout] 52 | | for e_s_d in esdv { [INFO] [stdout] 53 | | let entity_nspace_alias = e_s_d[0].as_str()?.to_owned(); [INFO] [stdout] 54 | | let entity_nspace = e_s_d[1].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 66 | | let ns_s_dv = yaml["namespace_search_dirs"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 67 | | for ns_s_d in ns_s_dv { [INFO] [stdout] 68 | | let nspace = ns_s_d[0].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(()) [INFO] [stdout] 73 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 66 | | let ns_s_dv = yaml["namespace_search_dirs"].as_vec()?; [INFO] [stdout] 67 | | for ns_s_d in ns_s_dv { [INFO] [stdout] 68 | | let nspace = ns_s_d[0].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(()) [INFO] [stdout] 73 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 66 | | let ns_s_dv = yaml["namespace_search_dirs"].as_vec()?; [INFO] [stdout] 67 | | for ns_s_d in ns_s_dv { [INFO] [stdout] 68 | | let nspace = ns_s_d[0].as_str()?.to_owned(); [INFO] [stdout] 69 | | let path = ns_s_d[1].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(()) [INFO] [stdout] 73 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 81 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 82 | | let a_s_a_v = yaml["additionnal_service_aliases"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 83 | | for a_s_a in a_s_a_v { [INFO] [stdout] 84 | | let pointy_name = a_s_a[0].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 81 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 82 | | let a_s_a_v = yaml["additionnal_service_aliases"].as_vec()?; [INFO] [stdout] 83 | | for a_s_a in a_s_a_v { [INFO] [stdout] 84 | | let pointy_name = a_s_a[0].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 81 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 82 | | let a_s_a_v = yaml["additionnal_service_aliases"].as_vec()?; [INFO] [stdout] 83 | | for a_s_a in a_s_a_v { [INFO] [stdout] 84 | | let pointy_name = a_s_a[0].as_str()?.to_owned(); [INFO] [stdout] 85 | | let psr_name = a_s_a[1].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 97 | | let a_s_a_v = yaml["bundles"].as_vec()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] 98 | | for a_s_a in a_s_a_v { [INFO] [stdout] 99 | | let name = a_s_a["name"].as_str()?.to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 97 | | let a_s_a_v = yaml["bundles"].as_vec()?; [INFO] [stdout] 98 | | for a_s_a in a_s_a_v { [INFO] [stdout] 99 | | let name = a_s_a["name"].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/conf.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(_e) = |yaml: &Yaml| -> Result<(), std::option::NoneError> { [INFO] [stdout] | __________________________- [INFO] [stdout] 97 | | let a_s_a_v = yaml["bundles"].as_vec()?; [INFO] [stdout] 98 | | for a_s_a in a_s_a_v { [INFO] [stdout] 99 | | let name = a_s_a["name"].as_str()?.to_owned(); [INFO] [stdout] 100 | | let path = a_s_a["path"].as_str()?.to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }(&yaml[0]) [INFO] [stdout] | |_________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sf4_updater` [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] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "405ed65e770e4894a5c40dea976578617b49a5e5283b5f9304537c56a435bc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "405ed65e770e4894a5c40dea976578617b49a5e5283b5f9304537c56a435bc81", kill_on_drop: false }` [INFO] [stdout] 405ed65e770e4894a5c40dea976578617b49a5e5283b5f9304537c56a435bc81