[INFO] fetching crate rustgtrending 0.1.1... [INFO] testing rustgtrending-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [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 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 192 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.23) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d95b38dc518258b74eb4a1856d5e7223536dbfcd307284d96f447d93a358ae28 [INFO] running `Command { std: "docker" "start" "-a" "d95b38dc518258b74eb4a1856d5e7223536dbfcd307284d96f447d93a358ae28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d95b38dc518258b74eb4a1856d5e7223536dbfcd307284d96f447d93a358ae28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95b38dc518258b74eb4a1856d5e7223536dbfcd307284d96f447d93a358ae28", kill_on_drop: false }` [INFO] [stdout] d95b38dc518258b74eb4a1856d5e7223536dbfcd307284d96f447d93a358ae28 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e9384f8c54605ff1317336a6704cbda0164a895def854098c2264a7a95ab5f3 [INFO] running `Command { std: "docker" "start" "-a" "8e9384f8c54605ff1317336a6704cbda0164a895def854098c2264a7a95ab5f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [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.109 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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.09s [INFO] running `Command { std: "docker" "inspect" "8e9384f8c54605ff1317336a6704cbda0164a895def854098c2264a7a95ab5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9384f8c54605ff1317336a6704cbda0164a895def854098c2264a7a95ab5f3", kill_on_drop: false }` [INFO] [stdout] 8e9384f8c54605ff1317336a6704cbda0164a895def854098c2264a7a95ab5f3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64f693ffb6a05f8b42f49b05cc7f098831bc52b9070ce68ecdb249dbf9292d82 [INFO] running `Command { std: "docker" "start" "-a" "64f693ffb6a05f8b42f49b05cc7f098831bc52b9070ce68ecdb249dbf9292d82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.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 regex v1.11.2 [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: 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:2723: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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "64f693ffb6a05f8b42f49b05cc7f098831bc52b9070ce68ecdb249dbf9292d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f693ffb6a05f8b42f49b05cc7f098831bc52b9070ce68ecdb249dbf9292d82", kill_on_drop: false }` [INFO] [stdout] 64f693ffb6a05f8b42f49b05cc7f098831bc52b9070ce68ecdb249dbf9292d82