[INFO] crate oas3 0.0.1 is already in cache [INFO] checking oas3-0.0.1 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate oas3 0.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate oas3 0.0.1 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate oas3 0.0.1 [INFO] finished tweaking crates.io crate oas3 0.0.1 [INFO] tweaked toml for crates.io crate oas3 0.0.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate oas3 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a96cd5e6b9a96dd97590b3c0468c4cbd0abb8ab4fc641aec8503c95681cbadcf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "a96cd5e6b9a96dd97590b3c0468c4cbd0abb8ab4fc641aec8503c95681cbadcf"` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking serde_yaml v0.8.9 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking oas3 v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SecurityScheme` [INFO] [stderr] --> src/schema.rs:171:13 [INFO] [stderr] | [INFO] [stderr] 171 | SecurityScheme::OAuth2 { flows } => { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `SecurityScheme` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stderr] --> src/schema.rs:176:21 [INFO] [stderr] | [INFO] [stderr] 176 | Url::parse("https://example.com/api/oauth/dialog").unwrap() [INFO] [stderr] | ^^^ use of undeclared type or module `Url` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stderr] --> src/schema.rs:185:21 [INFO] [stderr] | [INFO] [stderr] 185 | Url::parse("https://example.com/api/oauth/dialog").unwrap() [INFO] [stderr] | ^^^ use of undeclared type or module `Url` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stderr] --> src/schema.rs:189:21 [INFO] [stderr] | [INFO] [stderr] 189 | Url::parse("https://example.com/api/oauth/token").unwrap() [INFO] [stderr] | ^^^ use of undeclared type or module `Url` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SecurityScheme` in this scope [INFO] [stderr] --> src/schema.rs:169:18 [INFO] [stderr] | [INFO] [stderr] 169 | let obj: SecurityScheme = serde_json::from_str(&IMPLICIT_OAUTH2_SAMPLE).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 144 | use crate::security_scheme::SecurityScheme; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/schema.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `oas3`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "a96cd5e6b9a96dd97590b3c0468c4cbd0abb8ab4fc641aec8503c95681cbadcf"` [INFO] running `"docker" "rm" "-f" "a96cd5e6b9a96dd97590b3c0468c4cbd0abb8ab4fc641aec8503c95681cbadcf"` [INFO] [stdout] a96cd5e6b9a96dd97590b3c0468c4cbd0abb8ab4fc641aec8503c95681cbadcf