[INFO] crate oas3 0.0.1 is already in cache [INFO] testing oas3-0.0.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate oas3 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate oas3 0.0.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-1/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f22b57bc42b5159182fbf99a7f4581d4267ef169f0593165a07531475c1df1ad [INFO] running `"docker" "start" "-a" "f22b57bc42b5159182fbf99a7f4581d4267ef169f0593165a07531475c1df1ad"` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling serde_yaml v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.40 [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] Compiling failure v0.1.5 [INFO] [stderr] Compiling oas3 v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `"docker" "inspect" "f22b57bc42b5159182fbf99a7f4581d4267ef169f0593165a07531475c1df1ad"` [INFO] running `"docker" "rm" "-f" "f22b57bc42b5159182fbf99a7f4581d4267ef169f0593165a07531475c1df1ad"` [INFO] [stdout] f22b57bc42b5159182fbf99a7f4581d4267ef169f0593165a07531475c1df1ad [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 007a8af08e0c25aad1a9c5176c1d647082402e5e344aef769b1a5729423111d6 [INFO] running `"docker" "start" "-a" "007a8af08e0c25aad1a9c5176c1d647082402e5e344aef769b1a5729423111d6"` [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling oas3 v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `openapi` [INFO] [stderr] --> examples/printer.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | match openapi::from_path(path) { [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `openapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `openapi` [INFO] [stderr] --> examples/printer.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | println!("{}", openapi::to_json(&spec).unwrap()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `openapi` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [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[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] running `"docker" "inspect" "007a8af08e0c25aad1a9c5176c1d647082402e5e344aef769b1a5729423111d6"` [INFO] running `"docker" "rm" "-f" "007a8af08e0c25aad1a9c5176c1d647082402e5e344aef769b1a5729423111d6"` [INFO] [stdout] 007a8af08e0c25aad1a9c5176c1d647082402e5e344aef769b1a5729423111d6