[INFO] crate cmd_lib 0.7.8 is already in cache
[INFO] testing cmd_lib-0.7.8 against beta-2019-12-18 for beta-1.41-1
[INFO] extracting crate cmd_lib 0.7.8 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate cmd_lib 0.7.8 on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate cmd_lib 0.7.8
[INFO] finished tweaking crates.io crate cmd_lib 0.7.8
[INFO] tweaked toml for crates.io crate cmd_lib 0.7.8 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6416f698c9b399879917046b2a0af37ef1c33ab25bc5b0cc504c447327506279
[INFO] running `"docker" "start" "-a" "6416f698c9b399879917046b2a0af37ef1c33ab25bc5b0cc504c447327506279"`
[INFO] [stderr]    Compiling cmd_lib v0.7.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.42s
[INFO] running `"docker" "inspect" "6416f698c9b399879917046b2a0af37ef1c33ab25bc5b0cc504c447327506279"`
[INFO] running `"docker" "rm" "-f" "6416f698c9b399879917046b2a0af37ef1c33ab25bc5b0cc504c447327506279"`
[INFO] [stdout] 6416f698c9b399879917046b2a0af37ef1c33ab25bc5b0cc504c447327506279
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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" "+beta-2019-12-18" "test" "--frozen" "--no-run"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 69b5d4934fa7c689d6588e6676f5f48be54cb7192d3c134ac3a268d9024c973a
[INFO] running `"docker" "start" "-a" "69b5d4934fa7c689d6588e6676f5f48be54cb7192d3c134ac3a268d9024c973a"`
[INFO] [stderr]    Compiling cmd_lib v0.7.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `"docker" "inspect" "69b5d4934fa7c689d6588e6676f5f48be54cb7192d3c134ac3a268d9024c973a"`
[INFO] running `"docker" "rm" "-f" "69b5d4934fa7c689d6588e6676f5f48be54cb7192d3c134ac3a268d9024c973a"`
[INFO] [stdout] 69b5d4934fa7c689d6588e6676f5f48be54cb7192d3c134ac3a268d9024c973a
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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" "+beta-2019-12-18" "test" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2f366f5428e31de05a3f80456e629d1d7f5d4be28c6e35c31bbd56da122ee6cd
[INFO] running `"docker" "start" "-a" "2f366f5428e31de05a3f80456e629d1d7f5d4be28c6e35c31bbd56da122ee6cd"`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/cmd_lib-e797497c6143f5c6
[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
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests cmd_lib
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - output (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - run_cmd (line 165) ... FAILED
[INFO] [stdout] test src/lib.rs - Process (line 216) ... FAILED
[INFO] [stdout] test src/lib.rs - die (line 43) ... FAILED
[INFO] [stdout] test src/lib.rs - info (line 10) ... FAILED
[INFO] [stdout] test src/lib.rs - err (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - warn (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - run_fun (line 142) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - output (line 56) stdout ----
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `...`
[INFO] [stdout]  --> src/lib.rs:58:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn foo() -> FunResult
[INFO] [stdout]   |                      - expected one of 7 possible tokens
[INFO] [stdout] 4 | ...
[INFO] [stdout]   | ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - run_cmd (line 165) stdout ----
[INFO] [stdout] error: cannot find macro `run_cmd` in this scope
[INFO] [stdout]   --> src/lib.rs:177:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | run_cmd!{
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `run_cmd` in this scope
[INFO] [stdout]   --> src/lib.rs:173:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | run_cmd!(du -ah . | sort -hr | head -n 10);
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `run_cmd` in this scope
[INFO] [stdout]  --> src/lib.rs:170:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | run_cmd!("du -ah . | sort -hr | head -n 10");
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `run_cmd` in this scope
[INFO] [stdout]  --> src/lib.rs:167:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | run_cmd!("echo hello, {}", name);
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Process (line 216) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Process`
[INFO] [stdout]  --> src/lib.rs:217:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | Process::new("du -ah .")
[INFO] [stdout]   | ^^^^^^^ use of undeclared type or module `Process`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CmdResult` in this scope
[INFO] [stdout]  --> src/lib.rs:220:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .wait::<CmdResult>()?
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .wait::<Result>()?
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] help: possible candidate is found in another module, you can import it into scope
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cmd_lib::CmdResult;
[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 `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:217:1
[INFO] [stdout]   |
[INFO] [stdout] 2 |  / fn main() {
[INFO] [stdout] 3 |  | Process::new("du -ah .")
[INFO] [stdout]   |  |_^
[INFO] [stdout] 4 | ||     .pipe("sort -hr")
[INFO] [stdout] 5 | ||     .pipe("head -n 5")
[INFO] [stdout] 6 | ||     .wait::<CmdResult>()?
[INFO] [stdout]   | ||_________________________^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 |  | }
[INFO] [stdout]   |  |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - die (line 43) stdout ----
[INFO] [stdout] error: cannot find macro `die` in this scope
[INFO] [stdout]  --> src/lib.rs:44:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | die!("command failed: {}", reason);
[INFO] [stdout]   | ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - info (line 10) stdout ----
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]  --> src/lib.rs:11:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | info!("Running command xxx ...");
[INFO] [stdout]   | ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - err (line 32) stdout ----
[INFO] [stdout] error: cannot find macro `err` in this scope
[INFO] [stdout]  --> src/lib.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | err!("Copying file failed");
[INFO] [stdout]   | ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - warn (line 21) stdout ----
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]  --> src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | warn!("Running command failed");
[INFO] [stdout]   | ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - run_fun (line 142) stdout ----
[INFO] [stdout] error: cannot find macro `run_fun` in this scope
[INFO] [stdout]   --> src/lib.rs:151:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | let files = run_fun!(du -ah . | sort -hr | head -n 10)?;
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]  --> src/lib.rs:148:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | info!("There are {} words in above sentence", n);
[INFO] [stdout]   | ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `run_fun` in this scope
[INFO] [stdout]  --> src/lib.rs:147:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | let n = run_fun!("echo the quick brown fox jumped over the lazy dog | wc -w")?;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]  --> src/lib.rs:144:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | info!("Your rust version is {}", version);
[INFO] [stdout]   | ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `run_fun` in this scope
[INFO] [stdout]  --> src/lib.rs:143:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let version = run_fun!("rustc --version")?;
[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 `std::ops::Try`)
[INFO] [stdout]   --> src/lib.rs:143:15
[INFO] [stdout]    |
[INFO] [stdout] 2  | / fn main() {
[INFO] [stdout] 3  | | let version = run_fun!("rustc --version")?;
[INFO] [stdout]    | |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4  | | info!("Your rust version is {}", version);
[INFO] [stdout] 5  | |
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | let files = run_fun!(du -ah . | sort -hr | head -n 10)?;
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `std::ops::Try::from_error`
[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 `std::ops::Try`)
[INFO] [stdout]   --> src/lib.rs:147:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | / fn main() {
[INFO] [stdout] 3  | | let version = run_fun!("rustc --version")?;
[INFO] [stdout] 4  | | info!("Your rust version is {}", version);
[INFO] [stdout] 5  | |
[INFO] [stdout] 6  | | // with pipes
[INFO] [stdout] 7  | | let n = run_fun!("echo the quick brown fox jumped over the lazy dog | wc -w")?;
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | let files = run_fun!(du -ah . | sort -hr | head -n 10)?;
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `std::ops::Try::from_error`
[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 `std::ops::Try`)
[INFO] [stdout]   --> src/lib.rs:151:13
[INFO] [stdout]    |
[INFO] [stdout] 2  | / fn main() {
[INFO] [stdout] 3  | | let version = run_fun!("rustc --version")?;
[INFO] [stdout] 4  | | info!("Your rust version is {}", version);
[INFO] [stdout] 5  | |
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | let files = run_fun!(du -ah . | sort -hr | head -n 10)?;
[INFO] [stdout]    | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Process (line 216)
[INFO] [stdout]     src/lib.rs - die (line 43)
[INFO] [stdout]     src/lib.rs - err (line 32)
[INFO] [stdout]     src/lib.rs - info (line 10)
[INFO] [stdout]     src/lib.rs - output (line 56)
[INFO] [stdout]     src/lib.rs - run_cmd (line 165)
[INFO] [stdout]     src/lib.rs - run_fun (line 142)
[INFO] [stdout]     src/lib.rs - warn (line 21)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "2f366f5428e31de05a3f80456e629d1d7f5d4be28c6e35c31bbd56da122ee6cd"`
[INFO] running `"docker" "rm" "-f" "2f366f5428e31de05a3f80456e629d1d7f5d4be28c6e35c31bbd56da122ee6cd"`
[INFO] [stdout] 2f366f5428e31de05a3f80456e629d1d7f5d4be28c6e35c31bbd56da122ee6cd
