[INFO] fetching crate trout 0.4.0... [INFO] testing trout-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate trout 0.4.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trout 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96d3e79db1482d491831110e8aedbf02ac7853e0fbeff74e4a46c5a04ba295c [INFO] running `Command { std: "docker" "start" "-a" "f96d3e79db1482d491831110e8aedbf02ac7853e0fbeff74e4a46c5a04ba295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96d3e79db1482d491831110e8aedbf02ac7853e0fbeff74e4a46c5a04ba295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96d3e79db1482d491831110e8aedbf02ac7853e0fbeff74e4a46c5a04ba295c", kill_on_drop: false }` [INFO] [stdout] f96d3e79db1482d491831110e8aedbf02ac7853e0fbeff74e4a46c5a04ba295c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41cde2d5bd85c13103676d50d5552add67d7d62bddf591323545908d22a46423 [INFO] running `Command { std: "docker" "start" "-a" "41cde2d5bd85c13103676d50d5552add67d7d62bddf591323545908d22a46423", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.1 [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 3.06s [INFO] running `Command { std: "docker" "inspect" "41cde2d5bd85c13103676d50d5552add67d7d62bddf591323545908d22a46423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41cde2d5bd85c13103676d50d5552add67d7d62bddf591323545908d22a46423", kill_on_drop: false }` [INFO] [stdout] 41cde2d5bd85c13103676d50d5552add67d7d62bddf591323545908d22a46423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead0a42c862aef7d18f9e306db898a210c83d44a00f2c182d9dbcdaf30235101 [INFO] running `Command { std: "docker" "start" "-a" "ead0a42c862aef7d18f9e306db898a210c83d44a00f2c182d9dbcdaf30235101", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [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 httpdate v1.0.2 [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 itoa v0.4.8 [INFO] [stderr] Compiling http-body v0.4.4 [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 14.74s [INFO] running `Command { std: "docker" "inspect" "ead0a42c862aef7d18f9e306db898a210c83d44a00f2c182d9dbcdaf30235101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead0a42c862aef7d18f9e306db898a210c83d44a00f2c182d9dbcdaf30235101", kill_on_drop: false }` [INFO] [stdout] ead0a42c862aef7d18f9e306db898a210c83d44a00f2c182d9dbcdaf30235101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 28773257cd539612dd882f286cde42d697a0156a90557c8ffe3e3c117c07d627 [INFO] running `Command { std: "docker" "start" "-a" "28773257cd539612dd882f286cde42d697a0156a90557c8ffe3e3c117c07d627", 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.12s [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.24s
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "28773257cd539612dd882f286cde42d697a0156a90557c8ffe3e3c117c07d627", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28773257cd539612dd882f286cde42d697a0156a90557c8ffe3e3c117c07d627", kill_on_drop: false }`
[INFO] [stdout] 28773257cd539612dd882f286cde42d697a0156a90557c8ffe3e3c117c07d627