[INFO] crate oas3 0.0.1 is already in cache [INFO] testing oas3-0.0.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate oas3 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate oas3 0.0.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate crates.io crate oas3 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a1afdbb238ef1e5d69129a4e43c949c0ba389296e89daa3e48fdbb576500618 [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" "3a1afdbb238ef1e5d69129a4e43c949c0ba389296e89daa3e48fdbb576500618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a1afdbb238ef1e5d69129a4e43c949c0ba389296e89daa3e48fdbb576500618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1afdbb238ef1e5d69129a4e43c949c0ba389296e89daa3e48fdbb576500618", kill_on_drop: false }` [INFO] [stdout] 3a1afdbb238ef1e5d69129a4e43c949c0ba389296e89daa3e48fdbb576500618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d68241b0d3a5737e4c561f63601811ef8ee909c81da5c877ea5e0e67dd1db0 [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" "07d68241b0d3a5737e4c561f63601811ef8ee909c81da5c877ea5e0e67dd1db0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling serde_yaml v0.8.9 [INFO] [stderr] Compiling url_serde v0.2.0 [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 22s [INFO] running `Command { std: "docker" "inspect" "07d68241b0d3a5737e4c561f63601811ef8ee909c81da5c877ea5e0e67dd1db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d68241b0d3a5737e4c561f63601811ef8ee909c81da5c877ea5e0e67dd1db0", kill_on_drop: false }` [INFO] [stdout] 07d68241b0d3a5737e4c561f63601811ef8ee909c81da5c877ea5e0e67dd1db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92b27391780b57b636f8bf5d23c849614ec414a5bbb509e781c5ab0c5bce0b30 [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" "92b27391780b57b636f8bf5d23c849614ec414a5bbb509e781c5ab0c5bce0b30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling oas3 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `openapi` [INFO] [stdout] --> examples/printer.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | match openapi::from_path(path) { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `openapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `openapi` [INFO] [stdout] --> examples/printer.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | println!("{}", openapi::to_json(&spec).unwrap()); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `openapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SecurityScheme` [INFO] [stdout] --> src/schema.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | SecurityScheme::OAuth2 { flows } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `SecurityScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecurityScheme` in this scope [INFO] [stdout] --> src/schema.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | let obj: SecurityScheme = serde_json::from_str(&IMPLICIT_OAUTH2_SAMPLE).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 144 | use crate::SecurityScheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/schema.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | Url::parse("https://example.com/api/oauth/dialog").unwrap() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 144 | use crate::Url; [INFO] [stdout] | [INFO] [stdout] 144 | use url::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/schema.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | Url::parse("https://example.com/api/oauth/dialog").unwrap() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 144 | use crate::Url; [INFO] [stdout] | [INFO] [stdout] 144 | use url::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/schema.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | Url::parse("https://example.com/api/oauth/token").unwrap() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 144 | use crate::Url; [INFO] [stdout] | [INFO] [stdout] 144 | use url::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/schema.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [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: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "92b27391780b57b636f8bf5d23c849614ec414a5bbb509e781c5ab0c5bce0b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b27391780b57b636f8bf5d23c849614ec414a5bbb509e781c5ab0c5bce0b30", kill_on_drop: false }` [INFO] [stdout] 92b27391780b57b636f8bf5d23c849614ec414a5bbb509e781c5ab0c5bce0b30