[INFO] crate oas3 0.0.1 is already in cache [INFO] testing oas3-0.0.1 against 1.45.2 for beta-1.46-1 [INFO] extracting crate oas3 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate oas3 0.0.1 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-10/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d5443b38c6d6268b5ca7276873cf92d0d2755c8ee35860c0b56fc7b7d67327f [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" "3d5443b38c6d6268b5ca7276873cf92d0d2755c8ee35860c0b56fc7b7d67327f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d5443b38c6d6268b5ca7276873cf92d0d2755c8ee35860c0b56fc7b7d67327f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5443b38c6d6268b5ca7276873cf92d0d2755c8ee35860c0b56fc7b7d67327f", kill_on_drop: false }` [INFO] [stdout] 3d5443b38c6d6268b5ca7276873cf92d0d2755c8ee35860c0b56fc7b7d67327f [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd8cf2058b8eeab7986323fa34abe075d1745cc3d5a44e97eefc9a40e605e035 [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" "cd8cf2058b8eeab7986323fa34abe075d1745cc3d5a44e97eefc9a40e605e035", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling iovec v0.1.2 [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 serde_json v1.0.40 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling 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] 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 23s [INFO] running `Command { std: "docker" "inspect" "cd8cf2058b8eeab7986323fa34abe075d1745cc3d5a44e97eefc9a40e605e035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8cf2058b8eeab7986323fa34abe075d1745cc3d5a44e97eefc9a40e605e035", kill_on_drop: false }` [INFO] [stdout] cd8cf2058b8eeab7986323fa34abe075d1745cc3d5a44e97eefc9a40e605e035 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62d34e02bd046796ae28d98ecefdd5b7cfb8819729804abdd98965896d8b05b8 [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" "62d34e02bd046796ae28d98ecefdd5b7cfb8819729804abdd98965896d8b05b8", kill_on_drop: false }` [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] [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[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] | ^^^ use of undeclared type or module `Url` [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] | ^^^ use of undeclared type or module `Url` [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] | ^^^ use of undeclared type or module `Url` [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::security_scheme::SecurityScheme; [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" "62d34e02bd046796ae28d98ecefdd5b7cfb8819729804abdd98965896d8b05b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d34e02bd046796ae28d98ecefdd5b7cfb8819729804abdd98965896d8b05b8", kill_on_drop: false }` [INFO] [stdout] 62d34e02bd046796ae28d98ecefdd5b7cfb8819729804abdd98965896d8b05b8