[INFO] fetching crate hubcaps-ex 0.6.2... [INFO] checking hubcaps-ex-0.6.2 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate hubcaps-ex 0.6.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate hubcaps-ex 0.6.2 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hubcaps-ex 0.6.2 [INFO] finished tweaking crates.io crate hubcaps-ex 0.6.2 [INFO] tweaked toml for crates.io crate hubcaps-ex 0.6.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate hubcaps-ex 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 15780733f06f95b893fdc387fb7c1037d3b54ea53d3f917632180672bb238e6b [INFO] running `Command { std: "docker" "start" "-a" "15780733f06f95b893fdc387fb7c1037d3b54ea53d3f917632180672bb238e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15780733f06f95b893fdc387fb7c1037d3b54ea53d3f917632180672bb238e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15780733f06f95b893fdc387fb7c1037d3b54ea53d3f917632180672bb238e6b", kill_on_drop: false }` [INFO] [stdout] 15780733f06f95b893fdc387fb7c1037d3b54ea53d3f917632180672bb238e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da981d6fe964d94b1ea09e646eaf668c7555343aef9c2b994bff19edfc8c5dd5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "da981d6fe964d94b1ea09e646eaf668c7555343aef9c2b994bff19edfc8c5dd5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking hyperx v1.3.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking pem v0.8.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking tokio-util v0.6.2 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.0 [INFO] [stderr] Checking hubcaps-ex v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/gists_create.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::gists::{Content, GistOptions}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/forks.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::repositories::ForkListOptions; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/search_issues.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::search::SearchIssuesOptions; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/gists_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/pulls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GistOptions` [INFO] [stdout] --> examples/gists_create.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let options = GistOptions::new(Some("gist description"), false, files); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::gists::GistOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GistOptions` [INFO] [stdout] --> examples/gists_create.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let options = GistOptions::new(None as Option, false, files); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::gists::GistOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> examples/gists_create.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Content::new(Some("file2"), "Hello World!!"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::content::Content; [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::gists::Content; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::__private::de::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GistOptions` in this scope [INFO] [stdout] --> examples/gists_create.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let options = GistOptions { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::gists::GistOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/pulls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | .get(28) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/pulls.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | for c in github [INFO] [stdout] | ______________^ [INFO] [stdout] 26 | | .repo("softprops", "hubcaps") [INFO] [stdout] 27 | | .pulls() [INFO] [stdout] 28 | | .get(28) [INFO] [stdout] 29 | | .comments() [INFO] [stdout] 30 | | .list(&Default::default()) [INFO] [stdout] 31 | | .await? [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/pulls.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .get(28) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/pulls.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / github [INFO] [stdout] 38 | | .repo("softprops", "hubcaps") [INFO] [stdout] 39 | | .pulls() [INFO] [stdout] 40 | | .get(28) [INFO] [stdout] ... | [INFO] [stdout] 46 | | }) [INFO] [stdout] 47 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/pulls.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | .get(190) [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/pulls.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / github [INFO] [stdout] 53 | | .repo("softprops", "hubcaps") [INFO] [stdout] 54 | | .pulls() [INFO] [stdout] 55 | | .get(190) [INFO] [stdout] 56 | | .review_requests() [INFO] [stdout] 57 | | .get() [INFO] [stdout] 58 | | .await? [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/pulls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/branches.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::branches::Protection; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/teams.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::teams::{TeamMemberOptions, TeamMemberRole, TeamOptions}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hubcaps-ex` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/checks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::checks::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/checks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hubcaps::git::GetReferenceResponse; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/git.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/watching.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::{Credentials, Github, Result}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/watching.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/labels.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/teams.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/labels.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | .get(121) [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/labels.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / github [INFO] [stdout] 18 | | .repo("softprops", "hubcaps") [INFO] [stdout] 19 | | .pulls() [INFO] [stdout] 20 | | .get(121) [INFO] [stdout] 21 | | .labels() [INFO] [stdout] 22 | | .add(vec!["enhancement"]) [INFO] [stdout] 23 | | .await? [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/labels.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/rate_limit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Github, Result}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TeamMemberRole` [INFO] [stdout] --> examples/teams.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | role: TeamMemberRole::Member, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TeamMemberRole` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TeamOptions` in this scope [INFO] [stdout] --> examples/teams.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | .create(&TeamOptions { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::teams::TeamOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TeamOptions` in this scope [INFO] [stdout] --> examples/teams.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | .update(&TeamOptions { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::teams::TeamOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TeamMemberOptions` in this scope [INFO] [stdout] --> examples/teams.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | TeamMemberOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::teams::TeamMemberOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/branches.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/teams.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/search_issues.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/redir.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/forks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/releases.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/users.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/checks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hubcaps::{Credentials, Github, InstallationTokenGenerator, JWTCredentials}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetReferenceResponse` [INFO] [stdout] --> examples/checks.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | GetReferenceResponse::Exact(r) => r.object.sha, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetReferenceResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetReferenceResponse` [INFO] [stdout] --> examples/checks.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | GetReferenceResponse::StartWith(_) => panic!("Branch {} not found", &branch), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetReferenceResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchIssuesOptions` [INFO] [stdout] --> examples/search_issues.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | &SearchIssuesOptions::builder().per_page(100).build(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::search::SearchIssuesOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForkListOptions` [INFO] [stdout] --> examples/forks.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let options = ForkListOptions::builder().build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::repositories::ForkListOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Protection` in this scope [INFO] [stdout] --> examples/branches.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | &Protection { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::branches::Protection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/search_issues.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | &SearchIssuesOptions::builder().per_page(100).build(), [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/search_issues.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / github [INFO] [stdout] 18 | | .search() [INFO] [stdout] 19 | | .issues() [INFO] [stdout] 20 | | .iter( [INFO] [stdout] ... | [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/search_issues.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/forks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/fork.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Credentials, Github}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Conclusion` [INFO] [stdout] --> examples/checks.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | conclusion: Some(Conclusion::Neutral), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Conclusion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnnotationLevel` [INFO] [stdout] --> examples/checks.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | annotation_level: AnnotationLevel::Warning, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AnnotationLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnnotationLevel` [INFO] [stdout] --> examples/checks.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | annotation_level: AnnotationLevel::Warning, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AnnotationLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CheckRunOptions` in this scope [INFO] [stdout] --> examples/checks.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let options = &CheckRunOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::CheckRunOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Action` in this scope [INFO] [stdout] --> examples/checks.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Action { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::Action; [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::redirect::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Action` in this scope [INFO] [stdout] --> examples/checks.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Action { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::Action; [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::redirect::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Output` in this scope [INFO] [stdout] --> examples/checks.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | output: Some(Output { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::Output; [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Annotation` in this scope [INFO] [stdout] --> examples/checks.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | Annotation { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::Annotation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Annotation` in this scope [INFO] [stdout] --> examples/checks.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | Annotation { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::Annotation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Image` in this scope [INFO] [stdout] --> examples/checks.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | images: Some(vec![Image { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::checks::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/branches.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/invitations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::{Credentials, Github, InstallationTokenGenerator, JWTCredentials}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/invitations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "da981d6fe964d94b1ea09e646eaf668c7555343aef9c2b994bff19edfc8c5dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da981d6fe964d94b1ea09e646eaf668c7555343aef9c2b994bff19edfc8c5dd5", kill_on_drop: false }` [INFO] [stdout] da981d6fe964d94b1ea09e646eaf668c7555343aef9c2b994bff19edfc8c5dd5