[INFO] updating cached repository https://github.com/Kreyren/emkdir-rustlang [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 30945fc5096452f6aa71b7182de1dca87aab6b38 [INFO] checking Kreyren/emkdir-rustlang against try#9ff4d07208097950831ed4ea9d76feb1eafc8baa for pr-69340 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKreyren%2Femkdir-rustlang" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kreyren/emkdir-rustlang on toolchain 9ff4d07208097950831ed4ea9d76feb1eafc8baa [INFO] running `"/workspace/cargo-home/bin/cargo" "+9ff4d07208097950831ed4ea9d76feb1eafc8baa" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Kreyren/emkdir-rustlang [INFO] finished tweaking git repo https://github.com/Kreyren/emkdir-rustlang [INFO] tweaked toml for git repo https://github.com/Kreyren/emkdir-rustlang written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Kreyren/emkdir-rustlang already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+9ff4d07208097950831ed4ea9d76feb1eafc8baa" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+9ff4d07208097950831ed4ea9d76feb1eafc8baa" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3ba57304228a2bf199acb43d457b0c39823182a99de32538d3aa940e86b75100 [INFO] running `"docker" "start" "-a" "3ba57304228a2bf199acb43d457b0c39823182a99de32538d3aa940e86b75100"` [INFO] [stderr] Checking die v0.2.0 [INFO] [stderr] Checking cplogger v0.0.2 [INFO] [stderr] Checking emkdir v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/lib.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 15 | / pub fn emkdir>(pathname: PATH) { [INFO] [stderr] 16 | | // FIXME: Verify that parsed argument is valid [INFO] [stderr] 17 | | // FIXME-TEST: Make sure that this works on Linux [INFO] [stderr] 18 | | // FIXME-TEST: Make sure that this works on Windows [INFO] [stderr] ... | [INFO] [stderr] 24 | | if metadata(pathname.as_ref())?.is_dir() { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/lib.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 15 | / pub fn emkdir>(pathname: PATH) { [INFO] [stderr] 16 | | // FIXME: Verify that parsed argument is valid [INFO] [stderr] 17 | | // FIXME-TEST: Make sure that this works on Linux [INFO] [stderr] 18 | | // FIXME-TEST: Make sure that this works on Windows [INFO] [stderr] ... | [INFO] [stderr] 24 | | if metadata(pathname.as_ref())?.is_dir() { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/lib.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 15 | / pub fn emkdir>(pathname: PATH) { [INFO] [stderr] 16 | | // FIXME: Verify that parsed argument is valid [INFO] [stderr] 17 | | // FIXME-TEST: Make sure that this works on Linux [INFO] [stderr] 18 | | // FIXME-TEST: Make sure that this works on Windows [INFO] [stderr] ... | [INFO] [stderr] 29 | | if !metadata(pathname.as_ref())?.is_file() { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `emkdir`. [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] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/lib.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 15 | / pub fn emkdir>(pathname: PATH) { [INFO] [stderr] 16 | | // FIXME: Verify that parsed argument is valid [INFO] [stderr] 17 | | // FIXME-TEST: Make sure that this works on Linux [INFO] [stderr] 18 | | // FIXME-TEST: Make sure that this works on Windows [INFO] [stderr] ... | [INFO] [stderr] 29 | | if !metadata(pathname.as_ref())?.is_file() { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `emkdir`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3ba57304228a2bf199acb43d457b0c39823182a99de32538d3aa940e86b75100"` [INFO] running `"docker" "rm" "-f" "3ba57304228a2bf199acb43d457b0c39823182a99de32538d3aa940e86b75100"` [INFO] [stdout] 3ba57304228a2bf199acb43d457b0c39823182a99de32538d3aa940e86b75100