[INFO] cloning repository https://github.com/imtira/wkv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imtira/wkv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimtira%2Fwkv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimtira%2Fwkv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23794966f95eea3961c6aec7eae923743a8b75bb [INFO] checking imtira/wkv against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimtira%2Fwkv" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imtira/wkv 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/imtira/wkv [INFO] finished tweaking git repo https://github.com/imtira/wkv [INFO] tweaked toml for git repo https://github.com/imtira/wkv written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/imtira/wkv 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5d2aa2de4dd0a266ecccdb85c84662c041a336fc4e1cf0773c37a958cfb11f86 [INFO] running `Command { std: "docker" "start" "-a" "5d2aa2de4dd0a266ecccdb85c84662c041a336fc4e1cf0773c37a958cfb11f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d2aa2de4dd0a266ecccdb85c84662c041a336fc4e1cf0773c37a958cfb11f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d2aa2de4dd0a266ecccdb85c84662c041a336fc4e1cf0773c37a958cfb11f86", kill_on_drop: false }` [INFO] [stdout] 5d2aa2de4dd0a266ecccdb85c84662c041a336fc4e1cf0773c37a958cfb11f86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] f529f810f2899932b75b8be7d28c886f2779f000668e31588a96b8f157ebfdf1 [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" "f529f810f2899932b75b8be7d28c886f2779f000668e31588a96b8f157ebfdf1", kill_on_drop: false }` [INFO] [stderr] Checking wkv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | / pub fn validate_windows95(key: &'_ str) -> Result [INFO] [stdout] 90 | | { [INFO] [stdout] 91 | | match key.get(0..=2)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 92 | | "333" | "444" | "555" | "666" | "777" | "888" | "999" => Err(WKVError::InvalidDigitPosition), [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 89 | / pub fn validate_windows95(key: &'_ str) -> Result [INFO] [stdout] 90 | | { [INFO] [stdout] 91 | | match key.get(0..=2)? { [INFO] [stdout] 92 | | "333" | "444" | "555" | "666" | "777" | "888" | "999" => Err(WKVError::InvalidDigitPosition), [INFO] [stdout] 93 | | _ => [INFO] [stdout] 94 | | if mod7(key.as_bytes().get(4..)?)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | / pub fn validate_windows95(key: &'_ str) -> Result [INFO] [stdout] 90 | | { [INFO] [stdout] 91 | | match key.get(0..=2)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 92 | | "333" | "444" | "555" | "666" | "777" | "888" | "999" => Err(WKVError::InvalidDigitPosition), [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 89 | / pub fn validate_windows95(key: &'_ str) -> Result [INFO] [stdout] 90 | | { [INFO] [stdout] 91 | | match key.get(0..=2)? { [INFO] [stdout] 92 | | "333" | "444" | "555" | "666" | "777" | "888" | "999" => Err(WKVError::InvalidDigitPosition), [INFO] [stdout] 93 | | _ => [INFO] [stdout] 94 | | if mod7(key.as_bytes().get(4..)?)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wkv` [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 2 previous errors [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" "f529f810f2899932b75b8be7d28c886f2779f000668e31588a96b8f157ebfdf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f529f810f2899932b75b8be7d28c886f2779f000668e31588a96b8f157ebfdf1", kill_on_drop: false }` [INFO] [stdout] f529f810f2899932b75b8be7d28c886f2779f000668e31588a96b8f157ebfdf1