[INFO] fetching crate qvnt-qasm 0.2.0...
[INFO] testing qvnt-qasm-0.2.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate qvnt-qasm 0.2.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate qvnt-qasm 0.2.0
[INFO] finished tweaking crates.io crate qvnt-qasm 0.2.0
[INFO] tweaked toml for crates.io crate qvnt-qasm 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate qvnt-qasm 0.2.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] crate crates.io crate qvnt-qasm 0.2.0 already has a lockfile, it will not be regenerated
[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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: file `/workspace/builds/worker-7-tc2/source/examples/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `main`
[INFO] [stderr]   * `example` target `main`
[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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6b0b722c84741aeeb18400ea009cf3e7b58e4a9e7e68736321a57ae07b5edba4
[INFO] running `Command { std: "docker" "start" "-a" "6b0b722c84741aeeb18400ea009cf3e7b58e4a9e7e68736321a57ae07b5edba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b0b722c84741aeeb18400ea009cf3e7b58e4a9e7e68736321a57ae07b5edba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b0b722c84741aeeb18400ea009cf3e7b58e4a9e7e68736321a57ae07b5edba4", kill_on_drop: false }`
[INFO] [stdout] 6b0b722c84741aeeb18400ea009cf3e7b58e4a9e7e68736321a57ae07b5edba4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 98c0a4d35acd0080562dcd1b18ccc402f40f5553866df4a764896ebc30d91445
[INFO] running `Command { std: "docker" "start" "-a" "98c0a4d35acd0080562dcd1b18ccc402f40f5553866df4a764896ebc30d91445", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `main`
[INFO] [stderr]   * `example` target `main`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling ucd-util v0.1.8
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling qvnt-qasm v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:345:86
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error>
[INFO] [stdout]     |                                                  --                            --    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                                  |                             |
[INFO] [stdout]     |                                                  the lifetime is named here    the same lifetime is named 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: consistently use `'t`
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error<'t>>
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s
[INFO] running `Command { std: "docker" "inspect" "98c0a4d35acd0080562dcd1b18ccc402f40f5553866df4a764896ebc30d91445", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98c0a4d35acd0080562dcd1b18ccc402f40f5553866df4a764896ebc30d91445", kill_on_drop: false }`
[INFO] [stdout] 98c0a4d35acd0080562dcd1b18ccc402f40f5553866df4a764896ebc30d91445
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a2a20115a87f9da9bd13af797eedc5ef51b901cd00f4057d486f6c63d927665f
[INFO] running `Command { std: "docker" "start" "-a" "a2a20115a87f9da9bd13af797eedc5ef51b901cd00f4057d486f6c63d927665f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `main`
[INFO] [stderr]   * `example` target `main`
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:345:86
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error>
[INFO] [stdout]     |                                                  --                            --    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                                  |                             |
[INFO] [stdout]     |                                                  the lifetime is named here    the same lifetime is named 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: consistently use `'t`
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error<'t>>
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling qvnt-qasm v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:345:86
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error>
[INFO] [stdout]     |                                                  --                            --    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                                  |                             |
[INFO] [stdout]     |                                                  the lifetime is named here    the same lifetime is named 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: consistently use `'t`
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error<'t>>
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "a2a20115a87f9da9bd13af797eedc5ef51b901cd00f4057d486f6c63d927665f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2a20115a87f9da9bd13af797eedc5ef51b901cd00f4057d486f6c63d927665f", kill_on_drop: false }`
[INFO] [stdout] a2a20115a87f9da9bd13af797eedc5ef51b901cd00f4057d486f6c63d927665f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ff3ec0e40dd7dca94f848e420bae6097ee2e1a266e4e116cfff0062c4a3eba08
[INFO] running `Command { std: "docker" "start" "-a" "ff3ec0e40dd7dca94f848e420bae6097ee2e1a266e4e116cfff0062c4a3eba08", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `main`
[INFO] [stderr]   * `example` target `main`
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:345:86
[INFO] [stderr]     |
[INFO] [stderr] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error>
[INFO] [stderr]     |                                                  --                            --    ^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                                  |                             |
[INFO] [stderr]     |                                                  the lifetime is named here    the same lifetime is named 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: consistently use `'t`
[INFO] [stderr]     |
[INFO] [stderr] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error<'t>>
[INFO] [stderr]     |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `qvnt-qasm` (lib) generated 1 warning (run `cargo fix --lib -p qvnt-qasm` to apply 1 suggestion)
[INFO] [stderr] warning: `qvnt-qasm` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qvnt_qasm-6fe76c6d23b2afb2)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test lexer::is_letter_test ... ok
[INFO] [stdout] test token::lookup_ident_test ... ok
[INFO] [stdout] test parser::parser ... ok
[INFO] [stdout] test lexer::lexer_test ... ok
[INFO] [stdout] test pre_proc::lexer_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests examples/main.rs (/opt/rustwide/target/debug/deps/main-4c05a072dfe56903)
[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 tests/test_examples.rs (/opt/rustwide/target/debug/deps/test_examples-9c5d1d98b9c36531)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test works_with_examples ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests qvnt_qasm
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - (line 159) ... ignored
[INFO] [stdout] test src/lib.rs - (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - parse (line 316) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 80) ... FAILED
[INFO] [stdout] test src/error.rs - error::Error (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - lex (line 282) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 20) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - process (line 201) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 134) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 56) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]   --> src/lib.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | extern crate qasm;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - parse (line 316) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]    --> src/lib.rs:316:1
[INFO] [stdout]     |
[INFO] [stdout] 316 | extern crate qasm;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 80) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]   --> src/lib.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | extern crate qasm;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::Error (line 11) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]   --> src/error.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | extern crate qasm;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - lex (line 282) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]    --> src/lib.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | extern crate qasm;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | extern crate qasm;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - process (line 201) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `qasm`
[INFO] [stdout]    --> src/lib.rs:201:1
[INFO] [stdout]     |
[INFO] [stdout] 201 | extern crate qasm;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 134) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `qasm::pre_proc::ProcStr<'_>: From<&String>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut tokens = lex(&processed_source);
[INFO] [stdout]     |                      --- ^^^^^^^^^^^^^^^^^ the trait `From<&String>` is not implemented for `qasm::pre_proc::ProcStr<'_>`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<&String>` is not implemented for `qasm::pre_proc::ProcStr<'_>`
[INFO] [stdout]       but trait `From<&str>` is implemented for it
[INFO] [stdout]    --> src/pre_proc.rs:54:1
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl<'t> From<&'t str> for ProcStr<'t> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `String`
[INFO] [stdout] note: required by a bound in `lex`
[INFO] [stdout]    --> src/lib.rs:299:28
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn lex<'t, P>(input: P) -> token::TokenTree<'t, impl Clone + Iterator<Item = Token<'t>>>
[INFO] [stdout]     |        --- required by a bound in this function
[INFO] [stdout] 298 | where
[INFO] [stdout] 299 |     pre_proc::ProcStr<'t>: From<P>,
[INFO] [stdout]     |                            ^^^^^^^ required by this bound in `lex`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `qasm::pre_proc::ProcStr<'_>: From<&String>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut tokens = lex(&processed_source);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&String>` is not implemented for `qasm::pre_proc::ProcStr<'_>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<&String>` is not implemented for `qasm::pre_proc::ProcStr<'_>`
[INFO] [stdout]       but trait `From<&str>` is implemented for it
[INFO] [stdout]    --> src/pre_proc.rs:54:1
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl<'t> From<&'t str> for ProcStr<'t> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `String`
[INFO] [stdout] note: required by a bound in `lex`
[INFO] [stdout]    --> src/lib.rs:299:28
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn lex<'t, P>(input: P) -> token::TokenTree<'t, impl Clone + Iterator<Item = Token<'t>>>
[INFO] [stdout]     |        --- required by a bound in this function
[INFO] [stdout] 298 | where
[INFO] [stdout] 299 |     pre_proc::ProcStr<'t>: From<P>,
[INFO] [stdout]     |                            ^^^^^^^ required by this bound in `lex`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:150:21
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let ast = parse(&mut tokens);
[INFO] [stdout]     |               ----- ^^^^^^^^^^^ expected `TokenTree<'_, _>`, found `&mut TokenTree<'_, ...>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:297:53
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn lex<'t, P>(input: P) -> token::TokenTree<'t, impl Clone + Iterator<Item = Token<'t>>>
[INFO] [stdout]     |                                                     --------------------------------------- the found opaque type
[INFO] [stdout]     |
[INFO] [stdout]     = note:         expected struct `qasm::token::TokenTree<'_, _>`
[INFO] [stdout]             found mutable reference `&mut qasm::token::TokenTree<'_, impl Clone + Iterator<Item = Token<'_>>>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:345:8
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub fn parse<'t, I>(mut tokens: token::TokenTree<'t, I>) -> Result<Vec<AstNode<'t>>, Error>
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 150 -     let ast = parse(&mut tokens);
[INFO] [stdout] 150 +     let ast = parse(tokens);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/error.rs - error::Error (line 11)
[INFO] [stdout]     src/lib.rs - (line 134)
[INFO] [stdout]     src/lib.rs - (line 20)
[INFO] [stdout]     src/lib.rs - (line 56)
[INFO] [stdout]     src/lib.rs - (line 80)
[INFO] [stdout]     src/lib.rs - lex (line 282)
[INFO] [stdout]     src/lib.rs - parse (line 316)
[INFO] [stdout]     src/lib.rs - process (line 201)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ff3ec0e40dd7dca94f848e420bae6097ee2e1a266e4e116cfff0062c4a3eba08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff3ec0e40dd7dca94f848e420bae6097ee2e1a266e4e116cfff0062c4a3eba08", kill_on_drop: false }`
[INFO] [stdout] ff3ec0e40dd7dca94f848e420bae6097ee2e1a266e4e116cfff0062c4a3eba08
