[INFO] fetching crate rustea 0.1.6... [INFO] testing rustea-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rustea 0.1.6 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rustea 0.1.6 [INFO] finished tweaking crates.io crate rustea 0.1.6 [INFO] tweaked toml for crates.io crate rustea 0.1.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustea 0.1.6 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 rustea 0.1.6 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] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.123 [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] 80551215cd38276babd709c721b579ed7a281f5c6f4b24cebc8a750ecbf175a2 [INFO] running `Command { std: "docker" "start" "-a" "80551215cd38276babd709c721b579ed7a281f5c6f4b24cebc8a750ecbf175a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80551215cd38276babd709c721b579ed7a281f5c6f4b24cebc8a750ecbf175a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80551215cd38276babd709c721b579ed7a281f5c6f4b24cebc8a750ecbf175a2", kill_on_drop: false }` [INFO] [stdout] 80551215cd38276babd709c721b579ed7a281f5c6f4b24cebc8a750ecbf175a2 [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] 5b454748a174d24cef95024693bb3b2a9e40e2a5a7c360136a26e54fcc4c0f6e [INFO] running `Command { std: "docker" "start" "-a" "5b454748a174d24cef95024693bb3b2a9e40e2a5a7c360136a26e54fcc4c0f6e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling rustea v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "5b454748a174d24cef95024693bb3b2a9e40e2a5a7c360136a26e54fcc4c0f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b454748a174d24cef95024693bb3b2a9e40e2a5a7c360136a26e54fcc4c0f6e", kill_on_drop: false }` [INFO] [stdout] 5b454748a174d24cef95024693bb3b2a9e40e2a5a7c360136a26e54fcc4c0f6e [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] 9c0d70b317958f9966c012c9620640d23623f4720e9a40fdcb79405179ebf50a [INFO] running `Command { std: "docker" "start" "-a" "9c0d70b317958f9966c012c9620640d23623f4720e9a40fdcb79405179ebf50a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling rustea v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 36.39s [INFO] running `Command { std: "docker" "inspect" "9c0d70b317958f9966c012c9620640d23623f4720e9a40fdcb79405179ebf50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0d70b317958f9966c012c9620640d23623f4720e9a40fdcb79405179ebf50a", kill_on_drop: false }` [INFO] [stdout] 9c0d70b317958f9966c012c9620640d23623f4720e9a40fdcb79405179ebf50a [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] 6e748cb32a933cb007b3bb8f9a01335383627a0d519dec8f133e88bccc486766 [INFO] running `Command { std: "docker" "start" "-a" "6e748cb32a933cb007b3bb8f9a01335383627a0d519dec8f133e88bccc486766", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustea-9baa234617b57627) [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 rustea [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Command (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - Message (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Command (line 56) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Command` in this scope [INFO] [stdout] --> src/lib.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn make_request_command(url: &str) -> Command { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::Command; [INFO] [stdout] | [INFO] [stdout] 2 + use rustea::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HttpResponse` in this scope [INFO] [stdout] --> src/lib.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 9 | Box::new(move || Some(Box::new(HttpResponse(text_response)))) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Message (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `model` in this scope [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 13 | model.response = Some(res); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Box` in the current scope [INFO] [stdout] --> src/lib.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 10 | if let Some(res) = http_response_message.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - if let Some(res) = http_response_message.downcast_ref::() { [INFO] [stdout] 10 + if let Some(res) = http_response_message.as_ref::() { [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 - Command (line 56) [INFO] [stdout] src/lib.rs - Message (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6e748cb32a933cb007b3bb8f9a01335383627a0d519dec8f133e88bccc486766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e748cb32a933cb007b3bb8f9a01335383627a0d519dec8f133e88bccc486766", kill_on_drop: false }` [INFO] [stdout] 6e748cb32a933cb007b3bb8f9a01335383627a0d519dec8f133e88bccc486766