[INFO] cloning repository https://github.com/olvyko/rust-analyzer-tests-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olvyko/rust-analyzer-tests-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folvyko%2Frust-analyzer-tests-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folvyko%2Frust-analyzer-tests-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a779074b1670702e06e2e6dcbc27f7f53042ecfe [INFO] checking olvyko/rust-analyzer-tests-example against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folvyko%2Frust-analyzer-tests-example" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/olvyko/rust-analyzer-tests-example on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/olvyko/rust-analyzer-tests-example [INFO] finished tweaking git repo https://github.com/olvyko/rust-analyzer-tests-example [INFO] tweaked toml for git repo https://github.com/olvyko/rust-analyzer-tests-example written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/olvyko/rust-analyzer-tests-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2f014348e3ede1db7e1138a5e78446b09a02d75fd18826caddb198a7441404b [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" "d2f014348e3ede1db7e1138a5e78446b09a02d75fd18826caddb198a7441404b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2f014348e3ede1db7e1138a5e78446b09a02d75fd18826caddb198a7441404b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f014348e3ede1db7e1138a5e78446b09a02d75fd18826caddb198a7441404b", kill_on_drop: false }` [INFO] [stdout] d2f014348e3ede1db7e1138a5e78446b09a02d75fd18826caddb198a7441404b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13476c126c13e45cba62df26de3dc7e01dd4c567cbae90d7729ae84b57172e75 [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" "13476c126c13e45cba62df26de3dc7e01dd4c567cbae90d7729ae84b57172e75", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking module2 v0.1.0 (/opt/rustwide/workdir/modules/module2) [INFO] [stderr] Checking module1 v0.1.0 (/opt/rustwide/workdir/modules/module1) [INFO] [stderr] Checking rust-analyzer-tests-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `error` in this scope [INFO] [stdout] --> modules/module2/tests/module2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | error? [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `error` in this scope [INFO] [stdout] --> modules/module1/tests/module1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | error? [INFO] [stdout] | ^^^^^ not found in this scope [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 `Try`) [INFO] [stdout] --> modules/module1/tests/module1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | / fn module1_test() { [INFO] [stdout] 3 | | error? [INFO] [stdout] | | ^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an 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 `Try`) [INFO] [stdout] --> modules/module2/tests/module2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | / fn module2_test() { [INFO] [stdout] 3 | | error? [INFO] [stdout] | | ^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `module1` [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: build failed [INFO] running `Command { std: "docker" "inspect" "13476c126c13e45cba62df26de3dc7e01dd4c567cbae90d7729ae84b57172e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13476c126c13e45cba62df26de3dc7e01dd4c567cbae90d7729ae84b57172e75", kill_on_drop: false }` [INFO] [stdout] 13476c126c13e45cba62df26de3dc7e01dd4c567cbae90d7729ae84b57172e75