[INFO] fetching crate rustgtrending 0.1.1... [INFO] testing rustgtrending-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rustgtrending 0.1.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustgtrending 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 196 packages to latest compatible versions [INFO] [stderr] Adding mockito v0.28.0 (available: v1.7.2) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.13.2) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.52.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded http-body v0.3.1 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded extend v0.1.2 [INFO] [stderr] Downloaded assert-json-diff v1.1.0 [INFO] [stderr] Downloaded mockito v0.28.0 [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c4da5a8b082f1d1762e2e6e0d27663825301463ac724e670b397b1b5fd95853 [INFO] running `Command { std: "docker" "start" "-a" "9c4da5a8b082f1d1762e2e6e0d27663825301463ac724e670b397b1b5fd95853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c4da5a8b082f1d1762e2e6e0d27663825301463ac724e670b397b1b5fd95853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4da5a8b082f1d1762e2e6e0d27663825301463ac724e670b397b1b5fd95853", kill_on_drop: false }` [INFO] [stdout] 9c4da5a8b082f1d1762e2e6e0d27663825301463ac724e670b397b1b5fd95853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be85ea7dd1b83fc0c42fbd4b3570f01422e3cfef715e4e8d85315a0a0f8ca180 [INFO] running `Command { std: "docker" "start" "-a" "be85ea7dd1b83fc0c42fbd4b3570f01422e3cfef715e4e8d85315a0a0f8ca180", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [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 34.06s [INFO] running `Command { std: "docker" "inspect" "be85ea7dd1b83fc0c42fbd4b3570f01422e3cfef715e4e8d85315a0a0f8ca180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be85ea7dd1b83fc0c42fbd4b3570f01422e3cfef715e4e8d85315a0a0f8ca180", kill_on_drop: false }` [INFO] [stdout] be85ea7dd1b83fc0c42fbd4b3570f01422e3cfef715e4e8d85315a0a0f8ca180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7bf0d138869a2f2ad68ade4237a88375ae8a1e104821974245ec8fa23be79d9 [INFO] running `Command { std: "docker" "start" "-a" "b7bf0d138869a2f2ad68ade4237a88375ae8a1e104821974245ec8fa23be79d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.8.10 [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 extend v0.1.2 [INFO] [stderr] Compiling assert-json-diff v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [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[E0277]: the trait bound `std::string::String: const Deref` is not satisfied [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: trait `Deref` is implemented but not `const` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:2818:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl 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 Future>> [INFO] [stdout] | Result<(), _> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl 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 Future>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl 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 Future>> [INFO] [stdout] | Result<(), _> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl 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 Future>>` [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 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 Future>> [INFO] [stdout] | Box [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl 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 Future>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustgtrending` (test "test_fetch_repos") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b7bf0d138869a2f2ad68ade4237a88375ae8a1e104821974245ec8fa23be79d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bf0d138869a2f2ad68ade4237a88375ae8a1e104821974245ec8fa23be79d9", kill_on_drop: false }` [INFO] [stdout] b7bf0d138869a2f2ad68ade4237a88375ae8a1e104821974245ec8fa23be79d9