[INFO] fetching crate rustgtrending 0.1.1... [INFO] testing rustgtrending-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rustgtrending 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rustgtrending 0.1.1 [INFO] finished tweaking crates.io crate rustgtrending 0.1.1 [INFO] tweaked toml for crates.io crate rustgtrending 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustgtrending 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] [stderr] Adding mockito v0.28.0 (available: v1.7.0) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.24) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded extend v0.1.2 [INFO] [stderr] Downloaded mockito v0.28.0 [INFO] [stderr] Downloaded assert-json-diff v1.1.0 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 881e4b27a4f20dbe516c68101a0f667773de831751d1ebbbe0211d4783213091 [INFO] running `Command { std: "docker" "start" "-a" "881e4b27a4f20dbe516c68101a0f667773de831751d1ebbbe0211d4783213091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "881e4b27a4f20dbe516c68101a0f667773de831751d1ebbbe0211d4783213091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "881e4b27a4f20dbe516c68101a0f667773de831751d1ebbbe0211d4783213091", kill_on_drop: false }` [INFO] [stdout] 881e4b27a4f20dbe516c68101a0f667773de831751d1ebbbe0211d4783213091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49ebfb92d8c6215dbd6a9de845d3dc43b2890731b2659b87be6e52dd90be26ad [INFO] running `Command { std: "docker" "start" "-a" "49ebfb92d8c6215dbd6a9de845d3dc43b2890731b2659b87be6e52dd90be26ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling rustgtrending v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.61s [INFO] running `Command { std: "docker" "inspect" "49ebfb92d8c6215dbd6a9de845d3dc43b2890731b2659b87be6e52dd90be26ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ebfb92d8c6215dbd6a9de845d3dc43b2890731b2659b87be6e52dd90be26ad", kill_on_drop: false }` [INFO] [stdout] 49ebfb92d8c6215dbd6a9de845d3dc43b2890731b2659b87be6e52dd90be26ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2a032870e555eedfc2c1576d717c112bb46973928fa1508e9f532e7f10bd2aa [INFO] running `Command { std: "docker" "start" "-a" "e2a032870e555eedfc2c1576d717c112bb46973928fa1508e9f532e7f10bd2aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling assert-json-diff v1.1.0 [INFO] [stderr] Compiling mockito v0.28.0 [INFO] [stderr] Compiling rustgtrending v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `gtrending` [INFO] [stdout] --> tests/test_fetch_repos.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gtrending::fetch; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `gtrending` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtrending`, use `cargo add gtrending` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const function `server_url` in constants [INFO] [stdout] --> tests/test_fetch_repos.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | const URL: &'static str = &mockito::server_url(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: function `url` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mockito-0.28.0/src/server.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn url() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform non-const deref coercion on `std::string::String` in constants [INFO] [stdout] --> tests/test_fetch_repos.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | const URL: &'static str = &mockito::server_url(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `str` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/string.rs:2793:0 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl futures_util::Future>>` [INFO] [stdout] --> tests/test_fetch_repos.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(repos, Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | impl futures_util::Future>> [INFO] [stdout] | Result<(), _> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl futures_util::Future>>` doesn't implement `Debug` [INFO] [stdout] --> tests/test_fetch_repos.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(repos, Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `impl futures_util::Future>>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl futures_util::Future>>` [INFO] [stdout] --> tests/test_fetch_repos.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(repos, Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | impl futures_util::Future>> [INFO] [stdout] | Result<(), _> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl futures_util::Future>>` doesn't implement `Debug` [INFO] [stdout] --> tests/test_fetch_repos.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(repos, Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `impl futures_util::Future>>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot construct `futures_io::Error` with struct literal syntax due to private fields [INFO] [stdout] --> tests/test_fetch_repos.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Box::new(std::io::Error {}) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: private field `repr` that was not provided [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 68 - Box::new(std::io::Error {}) [INFO] [stdout] 68 + Box::new(std::io::Error::new(_, _)) [INFO] [stdout] | [INFO] [stdout] 68 - Box::new(std::io::Error {}) [INFO] [stdout] 68 + Box::new(std::io::Error::other(_)) [INFO] [stdout] | [INFO] [stdout] 68 - Box::new(std::io::Error {}) [INFO] [stdout] 68 + Box::new(std::io::Error::_new(_, _)) [INFO] [stdout] | [INFO] [stdout] 68 - Box::new(std::io::Error {}) [INFO] [stdout] 68 + Box::new(std::io::Error::from_static_message(_)) [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl futures_util::Future>>` [INFO] [stdout] --> tests/test_fetch_repos.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / assert_eq!( [INFO] [stdout] 67 | | basic_assertions(Some("invalid-language"), None, None), [INFO] [stdout] 68 | | Box::new(std::io::Error {}) [INFO] [stdout] 69 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____impl futures_util::Future>> [INFO] [stdout] | Box [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl futures_util::Future>>` doesn't implement `Debug` [INFO] [stdout] --> tests/test_fetch_repos.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / assert_eq!( [INFO] [stdout] 67 | | basic_assertions(Some("invalid-language"), None, None), [INFO] [stdout] 68 | | Box::new(std::io::Error {}) [INFO] [stdout] 69 | | ); [INFO] [stdout] | |_____^ the trait `Debug` is not implemented for `impl futures_util::Future>>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0277, E0369, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustgtrending` (test "test_fetch_repos") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e2a032870e555eedfc2c1576d717c112bb46973928fa1508e9f532e7f10bd2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a032870e555eedfc2c1576d717c112bb46973928fa1508e9f532e7f10bd2aa", kill_on_drop: false }` [INFO] [stdout] e2a032870e555eedfc2c1576d717c112bb46973928fa1508e9f532e7f10bd2aa