[INFO] fetching crate hubcaps-ex 0.6.2... [INFO] checking hubcaps-ex-0.6.2 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate hubcaps-ex 0.6.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate hubcaps-ex 0.6.2 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-10/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyperx v1.3.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.70 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.70 [INFO] [stderr] Downloaded js-sys v0.3.47 [INFO] [stderr] Downloaded tokio-util v0.6.2 [INFO] [stderr] Downloaded reqwest v0.11.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.70 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.20 [INFO] [stderr] Downloaded tokio v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.70 [INFO] [stderr] Downloaded web-sys v0.3.47 [INFO] [stderr] Downloaded pem v0.8.2 [INFO] [stderr] Downloaded bumpalo v3.5.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dbda5f441c13939fe9ffed7be11e9231124daf4d279bc29948d718288fc9606 [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" "6dbda5f441c13939fe9ffed7be11e9231124daf4d279bc29948d718288fc9606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dbda5f441c13939fe9ffed7be11e9231124daf4d279bc29948d718288fc9606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbda5f441c13939fe9ffed7be11e9231124daf4d279bc29948d718288fc9606", kill_on_drop: false }` [INFO] [stdout] 6dbda5f441c13939fe9ffed7be11e9231124daf4d279bc29948d718288fc9606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 20d5a44b6447654afffc8a783fc3fe321a6149a3368e4fa5e2ac7b21e90c796f [INFO] running `Command { std: "docker" "start" "-a" "20d5a44b6447654afffc8a783fc3fe321a6149a3368e4fa5e2ac7b21e90c796f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling hyperx v1.3.0 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking unicase v2.6.0 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [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] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [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 tokio-util v0.6.2 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking jsonwebtoken v7.2.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/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[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/orgs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::repositories::{OrgRepoType, OrganizationRepoListOptions}; [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/traffic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::traffic::TimeUnit; [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_repos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::search::SearchReposOptions; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/collaborators.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{self, Credentials, Github}; [INFO] [stdout] | ^^^^ no external crate `hubcaps` [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[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/comments.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::comments::CommentOptions; [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/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] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/traffic.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 `TimeUnit` [INFO] [stdout] --> examples/traffic.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | .views(TimeUnit::Day) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TimeUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimeUnit` [INFO] [stdout] --> examples/traffic.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | .clones(TimeUnit::Day) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TimeUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/hooks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::hooks::{HookCreateOptions, WebHookContentType}; [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/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[E0433]: failed to resolve: use of undeclared crate or module `hubcaps` [INFO] [stdout] --> examples/notifications.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::notifications::ThreadListOptions; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [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] 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[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/search_repos.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: 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[E0433]: failed to resolve: use of undeclared type `SearchReposOptions` [INFO] [stdout] --> examples/search_repos.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | &SearchReposOptions::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::SearchReposOptions; [INFO] [stdout] | [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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/search_repos.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | &SearchReposOptions::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_repos.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / github [INFO] [stdout] 18 | | .search() [INFO] [stdout] 19 | | .repos() [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_repos.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[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[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 `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: 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 `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] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/orgs.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 crate or module `hubcaps` [INFO] [stdout] --> examples/issues.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hubcaps::issues::{IssueListOptions, State}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/repos.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/deployments.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/repo_commits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps::{Credentials, Github, Result}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hubcaps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/hooks.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[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/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] 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] 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[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[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/notifications.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/comments.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/gists.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[E0433]: failed to resolve: use of undeclared type `OrgRepoType` [INFO] [stdout] --> examples/orgs.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | .repo_type(OrgRepoType::Forks) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OrgRepoType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrganizationRepoListOptions` [INFO] [stdout] --> examples/orgs.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let options = OrganizationRepoListOptions::builder() [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::OrganizationRepoListOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/content.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 `WebHookContentType` [INFO] [stdout] --> examples/hooks.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | .content_type(WebHookContentType::Json) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `WebHookContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HookCreateOptions` [INFO] [stdout] --> examples/hooks.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | &HookCreateOptions::web() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::hooks::HookCreateOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/pull_files.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[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: 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/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[E0422]: cannot find struct, variant or union type `CommentOptions` in this scope [INFO] [stdout] --> examples/comments.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | let f = issue.comments().create(&CommentOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::comments::CommentOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreadListOptions` [INFO] [stdout] --> examples/notifications.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let opts = ThreadListOptions::builder().all(true).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::notifications::ThreadListOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/stars.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/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[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] 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[E0432]: unresolved import `hubcaps` [INFO] [stdout] --> examples/assignees.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 4 previous errors [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: 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 `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: 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] 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] 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[E0433]: failed to resolve: use of undeclared type `Github` [INFO] [stdout] --> examples/collaborators.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let github = Github::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::Github; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Credentials` [INFO] [stdout] --> examples/collaborators.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Credentials::Token(token), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::Credentials; [INFO] [stdout] | [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: 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/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] 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/pull_files.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | .get(49536) [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/pull_files.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | for diff in github [INFO] [stdout] | _________________^ [INFO] [stdout] 14 | | .repo("rust-lang", "rust") [INFO] [stdout] 15 | | .pulls() [INFO] [stdout] 16 | | .get(49536) [INFO] [stdout] 17 | | .files() [INFO] [stdout] 18 | | .await? [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/content.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 [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: aborting due to 3 previous errors [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 previous error [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 previous error; 1 warning emitted [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] 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] 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[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] 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/assignees.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | .get(122) [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/assignees.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let pull = github [INFO] [stdout] | ________________^ [INFO] [stdout] 14 | | .repo("softprops", "hubcaps") [INFO] [stdout] 15 | | .pulls() [INFO] [stdout] 16 | | .get(122) [INFO] [stdout] 17 | | .assignees() [INFO] [stdout] 18 | | .add(vec!["softprops"]) [INFO] [stdout] 19 | | .await?; [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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/assignees.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .get(125) [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/assignees.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let issue = github [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | .repo("softprops", "hubcaps") [INFO] [stdout] 24 | | .issues() [INFO] [stdout] 25 | | .get(125) [INFO] [stdout] 26 | | .assignees() [INFO] [stdout] 27 | | .add(vec!["softprops"]) [INFO] [stdout] 28 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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: aborting due to 3 previous errors [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 3 previous errors [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] 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/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/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 `State` [INFO] [stdout] --> examples/issues.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | .state(State::All) [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IssueListOptions` [INFO] [stdout] --> examples/issues.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | &IssueListOptions::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hubcaps_ex::issues::IssueListOptions; [INFO] [stdout] | [INFO] [stdout] [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/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: aborting due to previous error [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/issues.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | .per_page(100) [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/issues.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / github [INFO] [stdout] 16 | | .repo("matthiasbeyer", "imag") [INFO] [stdout] 17 | | .issues() [INFO] [stdout] 18 | | .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/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 5 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[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: aborting due to 4 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[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] 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: 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 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] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> examples/repos.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" "20d5a44b6447654afffc8a783fc3fe321a6149a3368e4fa5e2ac7b21e90c796f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d5a44b6447654afffc8a783fc3fe321a6149a3368e4fa5e2ac7b21e90c796f", kill_on_drop: false }` [INFO] [stdout] 20d5a44b6447654afffc8a783fc3fe321a6149a3368e4fa5e2ac7b21e90c796f