[INFO] fetching crate rustgtrending 0.1.1... [INFO] checking rustgtrending-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate rustgtrending 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rustgtrending 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding mockito v0.28.0 (available: v1.6.1) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.9) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.41.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 153ba386c7cacca67db8d079302ad7401a1387591d9c808fcfe65d3eba503061 [INFO] running `Command { std: "docker" "start" "-a" "153ba386c7cacca67db8d079302ad7401a1387591d9c808fcfe65d3eba503061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153ba386c7cacca67db8d079302ad7401a1387591d9c808fcfe65d3eba503061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153ba386c7cacca67db8d079302ad7401a1387591d9c808fcfe65d3eba503061", kill_on_drop: false }` [INFO] [stdout] 153ba386c7cacca67db8d079302ad7401a1387591d9c808fcfe65d3eba503061 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21d64f838ae183f60b7aa0f8ddab42e6d5abb9c71c42410b82ad06eb062289f6 [INFO] running `Command { std: "docker" "start" "-a" "21d64f838ae183f60b7aa0f8ddab42e6d5abb9c71c42410b82ad06eb062289f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking openssl-sys v0.9.104 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking openssl v0.10.68 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking native-tls v0.2.12 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking mockito v0.28.0 [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 undeclared crate or module `gtrending` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `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 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:2604: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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `impl futures_util::Future>>` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `impl futures_util::Future>>` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `impl futures_util::Future>>` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `impl futures_util::Future>>` [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::new(_, _)) [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] 68 | Box::new(std::io::Error::other(_)) [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] 68 | Box::new(std::io::Error::_new(_, _)) [INFO] [stdout] | ~~~~~~~~~~~~ [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] | |_____^ `impl futures_util::Future>>` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `impl futures_util::Future>>` [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" "21d64f838ae183f60b7aa0f8ddab42e6d5abb9c71c42410b82ad06eb062289f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d64f838ae183f60b7aa0f8ddab42e6d5abb9c71c42410b82ad06eb062289f6", kill_on_drop: false }` [INFO] [stdout] 21d64f838ae183f60b7aa0f8ddab42e6d5abb9c71c42410b82ad06eb062289f6