[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikey4u%2Frelayer" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ikey4u/relayer on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-6/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 712c9f4a8dc89693704d68af49cf7cf733d49673a99c5edc46e1a9610370c77b [INFO] running `Command { std: "docker" "start" "-a" "712c9f4a8dc89693704d68af49cf7cf733d49673a99c5edc46e1a9610370c77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "712c9f4a8dc89693704d68af49cf7cf733d49673a99c5edc46e1a9610370c77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712c9f4a8dc89693704d68af49cf7cf733d49673a99c5edc46e1a9610370c77b", kill_on_drop: false }` [INFO] [stdout] 712c9f4a8dc89693704d68af49cf7cf733d49673a99c5edc46e1a9610370c77b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56c52e7f8b243947bea05ca460fd2843d4049e4def157d90896765854b5eb5da [INFO] running `Command { std: "docker" "start" "-a" "56c52e7f8b243947bea05ca460fd2843d4049e4def157d90896765854b5eb5da", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.7 [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 clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling tokio-macros v1.0.0 [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 37.04s [INFO] running `Command { std: "docker" "inspect" "56c52e7f8b243947bea05ca460fd2843d4049e4def157d90896765854b5eb5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c52e7f8b243947bea05ca460fd2843d4049e4def157d90896765854b5eb5da", kill_on_drop: false }` [INFO] [stdout] 56c52e7f8b243947bea05ca460fd2843d4049e4def157d90896765854b5eb5da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c3a414f4e0459e311a3eb1398fc708fb90b2340146aa804de7709e52c1ff2b [INFO] running `Command { std: "docker" "start" "-a" "70c3a414f4e0459e311a3eb1398fc708fb90b2340146aa804de7709e52c1ff2b", kill_on_drop: false }` [INFO] [stderr] Compiling relayer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "70c3a414f4e0459e311a3eb1398fc708fb90b2340146aa804de7709e52c1ff2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c3a414f4e0459e311a3eb1398fc708fb90b2340146aa804de7709e52c1ff2b", kill_on_drop: false }` [INFO] [stdout] 70c3a414f4e0459e311a3eb1398fc708fb90b2340146aa804de7709e52c1ff2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb32279e24577b8270525a7f1767390f6c040cc13b5fa506248b5dcde830e1a2 [INFO] running `Command { std: "docker" "start" "-a" "bb32279e24577b8270525a7f1767390f6c040cc13b5fa506248b5dcde830e1a2", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/relayer-6ce4b7bae6efe37f) [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-90c6382ce8ad2558) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/relays-e4216ffe28d8ffb9) [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] Doc-tests relayer [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 0.53s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "bb32279e24577b8270525a7f1767390f6c040cc13b5fa506248b5dcde830e1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb32279e24577b8270525a7f1767390f6c040cc13b5fa506248b5dcde830e1a2", kill_on_drop: false }` [INFO] [stdout] bb32279e24577b8270525a7f1767390f6c040cc13b5fa506248b5dcde830e1a2