[INFO] fetching crate trout 0.4.0... [INFO] testing trout-0.4.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate trout 0.4.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trout 0.4.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f8270d8ae92b27d0256036a214d6d9e97937d670672999b095f6ccafc22a2fe [INFO] running `Command { std: "docker" "start" "-a" "5f8270d8ae92b27d0256036a214d6d9e97937d670672999b095f6ccafc22a2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f8270d8ae92b27d0256036a214d6d9e97937d670672999b095f6ccafc22a2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f8270d8ae92b27d0256036a214d6d9e97937d670672999b095f6ccafc22a2fe", kill_on_drop: false }` [INFO] [stdout] 5f8270d8ae92b27d0256036a214d6d9e97937d670672999b095f6ccafc22a2fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c516a227ca0db2c6f40658d231069f317bcf6fe0062bbbb61844246520941a39 [INFO] running `Command { std: "docker" "start" "-a" "c516a227ca0db2c6f40658d231069f317bcf6fe0062bbbb61844246520941a39", kill_on_drop: false }` [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 0.29s [INFO] running `Command { std: "docker" "inspect" "c516a227ca0db2c6f40658d231069f317bcf6fe0062bbbb61844246520941a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c516a227ca0db2c6f40658d231069f317bcf6fe0062bbbb61844246520941a39", kill_on_drop: false }` [INFO] [stdout] c516a227ca0db2c6f40658d231069f317bcf6fe0062bbbb61844246520941a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5c93514a3a136c684982e14965d4697d8ccf421f21dd3b9c4840277dda69553 [INFO] running `Command { std: "docker" "start" "-a" "a5c93514a3a136c684982e14965d4697d8ccf421f21dd3b9c4840277dda69553", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling tracing-core v0.1.21 [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 quote v1.0.14 [INFO] [stderr] Compiling mio v0.7.14 [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 tracing v0.1.29 [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 13.91s [INFO] running `Command { std: "docker" "inspect" "a5c93514a3a136c684982e14965d4697d8ccf421f21dd3b9c4840277dda69553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c93514a3a136c684982e14965d4697d8ccf421f21dd3b9c4840277dda69553", kill_on_drop: false }` [INFO] [stdout] a5c93514a3a136c684982e14965d4697d8ccf421f21dd3b9c4840277dda69553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 439d025cdf59fd676784fb78bbc59dc10cd962badd5cb908fdec344dfcb11a03 [INFO] running `Command { std: "docker" "start" "-a" "439d025cdf59fd676784fb78bbc59dc10cd962badd5cb908fdec344dfcb11a03", 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.05s [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_str (line 170) ... 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 (line 157) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/node.rs - node::Node
::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] ---- 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 (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]
[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.16s
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "439d025cdf59fd676784fb78bbc59dc10cd962badd5cb908fdec344dfcb11a03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "439d025cdf59fd676784fb78bbc59dc10cd962badd5cb908fdec344dfcb11a03", kill_on_drop: false }`
[INFO] [stdout] 439d025cdf59fd676784fb78bbc59dc10cd962badd5cb908fdec344dfcb11a03