[INFO] cloning repository https://github.com/ikey4u/relayer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ikey4u/relayer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikey4u%2Frelayer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikey4u%2Frelayer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44a5e69cde7519040a96e72f5648ea542ed94c12 [INFO] testing ikey4u/relayer against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikey4u%2Frelayer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ikey4u/relayer on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ikey4u/relayer [INFO] finished tweaking git repo https://github.com/ikey4u/relayer [INFO] tweaked toml for git repo https://github.com/ikey4u/relayer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ikey4u/relayer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 667359077d1db4c8d1a7a943e6d68c79faac03ef2b1fcda421b242c4dedde01b [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" "667359077d1db4c8d1a7a943e6d68c79faac03ef2b1fcda421b242c4dedde01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "667359077d1db4c8d1a7a943e6d68c79faac03ef2b1fcda421b242c4dedde01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667359077d1db4c8d1a7a943e6d68c79faac03ef2b1fcda421b242c4dedde01b", kill_on_drop: false }` [INFO] [stdout] 667359077d1db4c8d1a7a943e6d68c79faac03ef2b1fcda421b242c4dedde01b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", 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] ac7eacc1d07bea203f2cf8d8b62c7ab75980fa9b898b4b9cb9b3a4ce228c564f [INFO] running `Command { std: "docker" "start" "-a" "ac7eacc1d07bea203f2cf8d8b62c7ab75980fa9b898b4b9cb9b3a4ce228c564f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.23 [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 serde_json v1.0.48 [INFO] [stderr] Compiling relayer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "ac7eacc1d07bea203f2cf8d8b62c7ab75980fa9b898b4b9cb9b3a4ce228c564f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7eacc1d07bea203f2cf8d8b62c7ab75980fa9b898b4b9cb9b3a4ce228c564f", kill_on_drop: false }` [INFO] [stdout] ac7eacc1d07bea203f2cf8d8b62c7ab75980fa9b898b4b9cb9b3a4ce228c564f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", 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] 691a2f595d9874749de42aefe893bb1e0adcbf4b6458f6ab2c7911f090d5b587 [INFO] running `Command { std: "docker" "start" "-a" "691a2f595d9874749de42aefe893bb1e0adcbf4b6458f6ab2c7911f090d5b587", kill_on_drop: false }` [INFO] [stderr] Compiling relayer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "691a2f595d9874749de42aefe893bb1e0adcbf4b6458f6ab2c7911f090d5b587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "691a2f595d9874749de42aefe893bb1e0adcbf4b6458f6ab2c7911f090d5b587", kill_on_drop: false }` [INFO] [stdout] 691a2f595d9874749de42aefe893bb1e0adcbf4b6458f6ab2c7911f090d5b587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7310ae12066d3aee0e5a45bb1fa631dba1f0a4cce6134a795b249e35d369fe7a [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" "7310ae12066d3aee0e5a45bb1fa631dba1f0a4cce6134a795b249e35d369fe7a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/relayer-d1565dd7421cf515) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/relayc-0c15b65365dfd289) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/relays-638fbf5715640c7a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests relayer [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - errlog (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - errlog (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - errlog (line 19) stdout ---- [INFO] [stdout] error: casts cannot be followed by ? [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 3 | File:open(filepath).context(errlog!("Cannot open file {}", filepath))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try surrounding the expression in parentheses [INFO] [stdout] | [INFO] [stdout] 3 | (File:open(filepath)).context(errlog!("Cannot open file {}", filepath))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `errlog` in this scope [INFO] [stdout] --> src/lib.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 3 | File:open(filepath).context(errlog!("Cannot open file {}", filepath))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] relayer::errlog [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `File` in this scope [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 3 | File:open(filepath).context(errlog!("Cannot open file {}", filepath))?; [INFO] [stdout] | ^^^^- help: maybe you meant to write a path separator here: `::` [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [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:20:70 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_19_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | File:open(filepath).context(errlog!("Cannot open file {}", filepath))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } _doctest_main_src_lib_rs_19_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - errlog (line 14) stdout ---- [INFO] [stdout] error: cannot find macro `errlog` in this scope [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 3 | return Err(errlog!("Unkown file type")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] relayer::errlog [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_14_0() { [INFO] [stdout] | - help: try adding a return type: `-> Result<_, _>` [INFO] [stdout] 3 | return Err(errlog!("Unkown file type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - errlog (line 14) [INFO] [stdout] src/lib.rs - errlog (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.52s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7310ae12066d3aee0e5a45bb1fa631dba1f0a4cce6134a795b249e35d369fe7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7310ae12066d3aee0e5a45bb1fa631dba1f0a4cce6134a795b249e35d369fe7a", kill_on_drop: false }` [INFO] [stdout] 7310ae12066d3aee0e5a45bb1fa631dba1f0a4cce6134a795b249e35d369fe7a