[INFO] fetching crate trout 0.4.0... [INFO] testing trout-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trout 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate trout 0.4.0 [INFO] finished tweaking crates.io crate trout 0.4.0 [INFO] tweaked toml for crates.io crate trout 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trout 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trout 0.4.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 187f11eecc4ef018a748a28e70033ffe11caeda4c0bbf54c23a387eedd7447d2 [INFO] running `Command { std: "docker" "start" "-a" "187f11eecc4ef018a748a28e70033ffe11caeda4c0bbf54c23a387eedd7447d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187f11eecc4ef018a748a28e70033ffe11caeda4c0bbf54c23a387eedd7447d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187f11eecc4ef018a748a28e70033ffe11caeda4c0bbf54c23a387eedd7447d2", kill_on_drop: false }` [INFO] [stdout] 187f11eecc4ef018a748a28e70033ffe11caeda4c0bbf54c23a387eedd7447d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c0797916262a7b5685f5c15445706a3e19fc1ffa2f5b9037a50de6a0a91811c [INFO] running `Command { std: "docker" "start" "-a" "7c0797916262a7b5685f5c15445706a3e19fc1ffa2f5b9037a50de6a0a91811c", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling trout v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &Self::Method; [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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 `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &'a Self::Method; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.94s [INFO] running `Command { std: "docker" "inspect" "7c0797916262a7b5685f5c15445706a3e19fc1ffa2f5b9037a50de6a0a91811c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0797916262a7b5685f5c15445706a3e19fc1ffa2f5b9037a50de6a0a91811c", kill_on_drop: false }` [INFO] [stdout] 7c0797916262a7b5685f5c15445706a3e19fc1ffa2f5b9037a50de6a0a91811c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49535fd8adea49092764702cb1d92647dbfd46906aa8f2ab2d9f3ed5b447c5c0 [INFO] running `Command { std: "docker" "start" "-a" "49535fd8adea49092764702cb1d92647dbfd46906aa8f2ab2d9f3ed5b447c5c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &Self::Method; [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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 `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &'a Self::Method; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling trout v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &Self::Method; [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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 `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &'a Self::Method; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.08s [INFO] running `Command { std: "docker" "inspect" "49535fd8adea49092764702cb1d92647dbfd46906aa8f2ab2d9f3ed5b447c5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49535fd8adea49092764702cb1d92647dbfd46906aa8f2ab2d9f3ed5b447c5c0", kill_on_drop: false }` [INFO] [stdout] 49535fd8adea49092764702cb1d92647dbfd46906aa8f2ab2d9f3ed5b447c5c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e02bbcdae94759c3ed36cfbd22df4da817643774597d1e9452c29fb1b09bf2e3 [INFO] running `Command { std: "docker" "start" "-a" "e02bbcdae94759c3ed36cfbd22df4da817643774597d1e9452c29fb1b09bf2e3", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | fn method<'a>(&'a self) -> &Self::Method; [INFO] [stderr] | -- ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the 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 `'a` [INFO] [stderr] | [INFO] [stderr] 30 | fn method<'a>(&'a self) -> &'a Self::Method; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `trout` (lib) generated 1 warning (run `cargo fix --lib -p trout` to apply 1 suggestion) [INFO] [stderr] warning: `trout` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trout-2267252dc399a7f2) [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] Doc-tests trout [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/node.rs - node::Node
::with_child (line 157) ... FAILED [INFO] [stdout] test src/node.rs - node::Node
::with_child_parse (line 187) ... FAILED [INFO] [stdout] test src/node.rs - node::Node
::with_child_str (line 170) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/node.rs - node::Node
::with_child (line 157) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Node<_, _, _, _>` [INFO] [stdout] --> src/node.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 5 | let other_node = trout::Node::new(); [INFO] [stdout] | ^^^^^^^^^^ ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: trout::Request` [INFO] [stdout] = help: the following types implement trait `trout::Request`: [INFO] [stdout] String [INFO] [stdout] http::request::Request [INFO] [stdout] note: required by a bound in `Node` [INFO] [stdout] --> /opt/rustwide/workdir/src/node.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Node
{ [INFO] [stdout] | ^^^^^^^ required by this bound in `Node` [INFO] [stdout] help: consider giving `other_node` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 5 | let other_node: Node
= trout::Node::new(); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/node.rs - node::Node
::with_child_parse (line 187) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/node.rs:190:1
[INFO] [stdout] |
[INFO] [stdout] 6 | / trout::Node::new()
[INFO] [stdout] 7 | | .with_child_parse:: ::with_child_str (line 170) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/node.rs:173:1
[INFO] [stdout] |
[INFO] [stdout] 6 | / trout::Node::new()
[INFO] [stdout] 7 | | .with_child_str(other_node)
[INFO] [stdout] | |_______________________________^ expected `()`, found `Node<_, _, _, _>`
[INFO] [stdout] |
[INFO] [stdout] = note: expected unit type `()`
[INFO] [stdout] found struct `Node<_, _, _, _>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout] |
[INFO] [stdout] 7 | .with_child_str(other_node);
[INFO] [stdout] | +
[INFO] [stdout] help: a return type might be missing here
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_node_rs_170_0() -> _ {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 1 previous error
[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/node.rs - node::Node ::with_child (line 157)
[INFO] [stdout] src/node.rs - node::Node ::with_child_parse (line 187)
[INFO] [stdout] src/node.rs - node::Node ::with_child_str (line 170)
[INFO] [stdout]
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e02bbcdae94759c3ed36cfbd22df4da817643774597d1e9452c29fb1b09bf2e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e02bbcdae94759c3ed36cfbd22df4da817643774597d1e9452c29fb1b09bf2e3", kill_on_drop: false }`
[INFO] [stdout] e02bbcdae94759c3ed36cfbd22df4da817643774597d1e9452c29fb1b09bf2e3