[INFO] fetching crate cheats 0.4.0...
[INFO] testing cheats-0.4.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate cheats 0.4.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate cheats 0.4.0
[INFO] finished tweaking crates.io crate cheats 0.4.0
[INFO] tweaked toml for crates.io crate cheats 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cheats 0.4.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 20 packages to latest compatible versions
[INFO] [stderr]       Adding logos v0.11.4 (available: v0.16.0)
[INFO] [stderr]       Adding rstest v0.6.4 (available: v0.26.1)
[INFO] [stderr]       Adding snafu v0.6.10 (available: v0.8.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c14a84fe7c0f464ca77740992edeeea642c963044fb51d1d70234561780ba400
[INFO] running `Command { std: "docker" "start" "-a" "c14a84fe7c0f464ca77740992edeeea642c963044fb51d1d70234561780ba400", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c14a84fe7c0f464ca77740992edeeea642c963044fb51d1d70234561780ba400", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c14a84fe7c0f464ca77740992edeeea642c963044fb51d1d70234561780ba400", kill_on_drop: false }`
[INFO] [stdout] c14a84fe7c0f464ca77740992edeeea642c963044fb51d1d70234561780ba400
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e6b3e76f695b6e6c92479f46d2aa988e0c63d5f9ad8ff9977b0f1c512a271c9
[INFO] running `Command { std: "docker" "start" "-a" "1e6b3e76f695b6e6c92479f46d2aa988e0c63d5f9ad8ff9977b0f1c512a271c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling doc-comment v0.3.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling beef v0.4.4
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling logos-derive v0.11.5
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling snafu v0.6.10
[INFO] [stderr]    Compiling logos v0.11.4
[INFO] [stderr]    Compiling cheats v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:277:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<()> {
[INFO] [stdout]     |                     ^^^^^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<'_, ()> {
[INFO] [stdout]     |                                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:302:23
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<()> {
[INFO] [stdout]     |                       ^^^^^^^^^                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<'_, ()> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/code.rs:51:72
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<Self> {
[INFO] [stdout]    |                              -- the lifetime is named here             ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<'a, Self> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.82s
[INFO] running `Command { std: "docker" "inspect" "1e6b3e76f695b6e6c92479f46d2aa988e0c63d5f9ad8ff9977b0f1c512a271c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e6b3e76f695b6e6c92479f46d2aa988e0c63d5f9ad8ff9977b0f1c512a271c9", kill_on_drop: false }`
[INFO] [stdout] 1e6b3e76f695b6e6c92479f46d2aa988e0c63d5f9ad8ff9977b0f1c512a271c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46b409e5e2b84b8b8373c9169a50297c4599cb772a99b5ecb5774adcc40560f7
[INFO] running `Command { std: "docker" "start" "-a" "46b409e5e2b84b8b8373c9169a50297c4599cb772a99b5ecb5774adcc40560f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:277:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<()> {
[INFO] [stdout]     |                     ^^^^^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<'_, ()> {
[INFO] [stdout]     |                                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:302:23
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<()> {
[INFO] [stdout]     |                       ^^^^^^^^^                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<'_, ()> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/code.rs:51:72
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<Self> {
[INFO] [stdout]    |                              -- the lifetime is named here             ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<'a, Self> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rstest v0.6.4
[INFO] [stderr]    Compiling cheats v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:277:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<()> {
[INFO] [stdout]     |                     ^^^^^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<'_, ()> {
[INFO] [stdout]     |                                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:302:23
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<()> {
[INFO] [stdout]     |                       ^^^^^^^^^                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<'_, ()> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/code.rs:51:72
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<Self> {
[INFO] [stdout]    |                              -- the lifetime is named here             ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<'a, Self> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.66s
[INFO] running `Command { std: "docker" "inspect" "46b409e5e2b84b8b8373c9169a50297c4599cb772a99b5ecb5774adcc40560f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46b409e5e2b84b8b8373c9169a50297c4599cb772a99b5ecb5774adcc40560f7", kill_on_drop: false }`
[INFO] [stdout] 46b409e5e2b84b8b8373c9169a50297c4599cb772a99b5ecb5774adcc40560f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 41981cd88fdbe06b8730c46dfc83a8e560dbdbc137bd64ad01fafc97ead77880
[INFO] running `Command { std: "docker" "start" "-a" "41981cd88fdbe06b8730c46dfc83a8e560dbdbc137bd64ad01fafc97ead77880", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:277:21
[INFO] [stderr]     |
[INFO] [stderr] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<()> {
[INFO] [stderr]     |                     ^^^^^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 277 |     pub fn register(&mut self, name: &'a str, invokable: Box<dyn Invokable>) -> ShellResult<'_, ()> {
[INFO] [stderr]     |                                                                                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:302:23
[INFO] [stderr]     |
[INFO] [stderr] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<()> {
[INFO] [stderr]     |                       ^^^^^^^^^                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 302 |     pub fn unregister(&mut self, name: &'a str) -> ShellResult<'_, ()> {
[INFO] [stderr]     |                                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/code.rs:51:72
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<Self> {
[INFO] [stderr]    |                              -- the lifetime is named here             ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub(crate) fn new(name: &'a str, invokable: Box<dyn Invokable>) -> CodeResult<'a, Self> {
[INFO] [stderr]    |                                                                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: `cheats` (lib) generated 3 warnings (run `cargo fix --lib -p cheats` to apply 3 suggestions)
[INFO] [stderr] warning: `cheats` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cheats-1e344c41c9f09162)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test code::tests::code_new_success ... ok
[INFO] [stdout] test io::tests::read ... ok
[INFO] [stdout] test tests::register::case_1 ... ok
[INFO] [stdout] test parser::tests::lexer ... ok
[INFO] [stdout] test tests::filter_names ... ok
[INFO] [stdout] test tests::register::case_2 ... ok
[INFO] [stdout] test tests::register::case_3 ... ok
[INFO] [stdout] test tests::run_out::case_1 ... ok
[INFO] [stdout] test tests::unregister::case_1 ... ok
[INFO] [stdout] test tests::run_out::case_2 ... ok
[INFO] [stdout] test tests::run_script_file ... ok
[INFO] [stdout] test tests::unregister::case_2 ... ok
[INFO] [stderr]    Doc-tests cheats
[INFO] [stdout] test io::tests::write ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 127) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 140) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 40) ... ok
[INFO] [stdout] test src/lib.rs - (line 153) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 111) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... ok
[INFO] [stdout] test src/lib.rs - (line 95) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 190) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `is`
[INFO] [stdout]   --> src/lib.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | this is a comment as well
[INFO] [stdout]    |      ^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 161) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 166 | let content: String = fs::read_to_string("path/to/file.script")
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 127) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | let sv_codes: Vec<&str> = shell.filter_names("sv", true).collect();
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 140) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shell` in this scope
[INFO] [stdout]    --> src/lib.rs:141:27
[INFO] [stdout]     |
[INFO] [stdout] 141 | let sv_codes: Vec<&str> = shell.filter_names("sv", true).collect();
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 153) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shell` in this scope
[INFO] [stdout]    --> src/lib.rs:154:1
[INFO] [stdout]     |
[INFO] [stdout] 154 | shell.run("cl_hello").expect("Could not run the code.");
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shell` in this scope
[INFO] [stdout]    --> src/lib.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | shell.run("cl_hello Eray").expect("Could not run the code.");
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 111) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shell` in this scope
[INFO] [stdout]    --> src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | shell.unregister("cl_hello").expect("Could not unregister the code.");
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 95) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `ClHello` in this scope
[INFO] [stdout]   --> src/lib.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 | let invokable = Box::new(ClHello);
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shell` in this scope
[INFO] [stdout]   --> src/lib.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 99 | shell.register("cl_hello", invokable).expect("Could not register the code.");
[INFO] [stdout]    | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 190) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shell` in this scope
[INFO] [stdout]    --> src/lib.rs:193:26
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let ref mut stdout = shell.stdout; // take a reference to stdout
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `String` in the current scope
[INFO] [stdout]    --> src/lib.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |     String::from_iter(stdout_bytes.into_iter().map(|b| b as char)) // map u8 bytes to char
[INFO] [stdout]     |             ^^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/string.rs:437:4
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromIterator` which provides `from_iter` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 190 + use std::iter::FromIterator;
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `from_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 198 -     String::from_iter(stdout_bytes.into_iter().map(|b| b as char)) // map u8 bytes to char
[INFO] [stdout] 198 +     String::from_str(stdout_bytes.into_iter().map(|b| b as char)) // map u8 bytes to char
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 111)
[INFO] [stdout]     src/lib.rs - (line 127)
[INFO] [stdout]     src/lib.rs - (line 140)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 161)
[INFO] [stdout]     src/lib.rs - (line 190)
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout]     src/lib.rs - (line 95)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "41981cd88fdbe06b8730c46dfc83a8e560dbdbc137bd64ad01fafc97ead77880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41981cd88fdbe06b8730c46dfc83a8e560dbdbc137bd64ad01fafc97ead77880", kill_on_drop: false }`
[INFO] [stdout] 41981cd88fdbe06b8730c46dfc83a8e560dbdbc137bd64ad01fafc97ead77880
