[INFO] crate cmd_lib 0.7.8 is already in cache
[INFO] testing cmd_lib-0.7.8 against 1.40.0 for beta-1.41-1
[INFO] extracting crate cmd_lib 0.7.8 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate cmd_lib 0.7.8 on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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-2/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.40.0" "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] 77ff501d5dff26c70c5af33bc5be672d4484f1bf6cd3033ee727e6619da30eff
[INFO] running `"docker" "start" "-a" "77ff501d5dff26c70c5af33bc5be672d4484f1bf6cd3033ee727e6619da30eff"`
[INFO] [stderr]    Compiling cmd_lib v0.7.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.19s
[INFO] running `"docker" "inspect" "77ff501d5dff26c70c5af33bc5be672d4484f1bf6cd3033ee727e6619da30eff"`
[INFO] running `"docker" "rm" "-f" "77ff501d5dff26c70c5af33bc5be672d4484f1bf6cd3033ee727e6619da30eff"`
[INFO] [stdout] 77ff501d5dff26c70c5af33bc5be672d4484f1bf6cd3033ee727e6619da30eff
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.40.0" "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] 47dfa229c9313a7311b6b1d1f871fcbb19c9bd8050b998d00edb30424e385d85
[INFO] running `"docker" "start" "-a" "47dfa229c9313a7311b6b1d1f871fcbb19c9bd8050b998d00edb30424e385d85"`
[INFO] [stderr]    Compiling cmd_lib v0.7.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.72s
[INFO] running `"docker" "inspect" "47dfa229c9313a7311b6b1d1f871fcbb19c9bd8050b998d00edb30424e385d85"`
[INFO] running `"docker" "rm" "-f" "47dfa229c9313a7311b6b1d1f871fcbb19c9bd8050b998d00edb30424e385d85"`
[INFO] [stdout] 47dfa229c9313a7311b6b1d1f871fcbb19c9bd8050b998d00edb30424e385d85
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.40.0" "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] e1cc48e766997800d9d93d52a5c5e4fcdf6c9b299aafd6c152a6b16fd82f28e1
[INFO] running `"docker" "start" "-a" "e1cc48e766997800d9d93d52a5c5e4fcdf6c9b299aafd6c152a6b16fd82f28e1"`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/cmd_lib-e48232d95c6f8642
[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 - info (line 10) ... 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 - err (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - run_fun (line 142) ... FAILED
[INFO] [stdout] test src/lib.rs - warn (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - run_cmd (line 165) ... 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 here
[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 - 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 - 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] 3 | / Process::new("du -ah .")
[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]   |
[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 - 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 - 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] 3 | let version = run_fun!("rustc --version")?;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[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] 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]   = 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] 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]    |
[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] ---- 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_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] 
[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" "e1cc48e766997800d9d93d52a5c5e4fcdf6c9b299aafd6c152a6b16fd82f28e1"`
[INFO] running `"docker" "rm" "-f" "e1cc48e766997800d9d93d52a5c5e4fcdf6c9b299aafd6c152a6b16fd82f28e1"`
[INFO] [stdout] e1cc48e766997800d9d93d52a5c5e4fcdf6c9b299aafd6c152a6b16fd82f28e1
