[INFO] fetching crate rustgtrending 0.1.1... [INFO] checking rustgtrending-0.1.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rustgtrending 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustgtrending 0.1.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 191 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.20) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.45.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da42d01b40b4f88b5cc35e71663f8007b81936f99955aa571a9df44c2352baee [INFO] running `Command { std: "docker" "start" "-a" "da42d01b40b4f88b5cc35e71663f8007b81936f99955aa571a9df44c2352baee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da42d01b40b4f88b5cc35e71663f8007b81936f99955aa571a9df44c2352baee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da42d01b40b4f88b5cc35e71663f8007b81936f99955aa571a9df44c2352baee", kill_on_drop: false }` [INFO] [stdout] da42d01b40b4f88b5cc35e71663f8007b81936f99955aa571a9df44c2352baee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25281f3e42c7f1b11ea8a63c3109080ccbf8193eba02b480e6fc093ae428534d [INFO] running `Command { std: "docker" "start" "-a" "25281f3e42c7f1b11ea8a63c3109080ccbf8193eba02b480e6fc093ae428534d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking mockito v0.28.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking 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: 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/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/alloc/src/string.rs:2732:1 [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] running `Command { std: "docker" "inspect" "25281f3e42c7f1b11ea8a63c3109080ccbf8193eba02b480e6fc093ae428534d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25281f3e42c7f1b11ea8a63c3109080ccbf8193eba02b480e6fc093ae428534d", kill_on_drop: false }` [INFO] [stdout] 25281f3e42c7f1b11ea8a63c3109080ccbf8193eba02b480e6fc093ae428534d