[INFO] cloning repository https://github.com/robsaunders/cdd-openapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robsaunders/cdd-openapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b25c0a79262fb96eae4c880e145917f4ac674b1 [INFO] testing robsaunders/cdd-openapi against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robsaunders/cdd-openapi on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robsaunders/cdd-openapi [INFO] finished tweaking git repo https://github.com/robsaunders/cdd-openapi [INFO] tweaked toml for git repo https://github.com/robsaunders/cdd-openapi written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/robsaunders/cdd-openapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 149ef4582b315bd6f2775031467687a8affb01ad754f70527e8576fbf03dae4d [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" "149ef4582b315bd6f2775031467687a8affb01ad754f70527e8576fbf03dae4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "149ef4582b315bd6f2775031467687a8affb01ad754f70527e8576fbf03dae4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149ef4582b315bd6f2775031467687a8affb01ad754f70527e8576fbf03dae4d", kill_on_drop: false }` [INFO] [stdout] 149ef4582b315bd6f2775031467687a8affb01ad754f70527e8576fbf03dae4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] ffee4fe79bc7c6d76996d93ccdc5beabb37c6c0b3e22e41dcd9f0031503e8414 [INFO] running `Command { std: "docker" "start" "-a" "ffee4fe79bc7c6d76996d93ccdc5beabb37c6c0b3e22e41dcd9f0031503e8414", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling bstr v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling cdd v0.1.0 (https://github.com/offscale/cdd-core#b7c03de6) [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling jsonrpc-core v14.0.5 [INFO] [stderr] Compiling openapiv3 v0.3.0 [INFO] [stderr] Compiling jsonrpc-server-utils v14.0.5 [INFO] [stderr] Compiling jsonrpc-ws-server v14.0.6 [INFO] [stderr] Compiling cdd-openapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `openapi` [INFO] [stdout] --> src/generator.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let openapi = crate::parser::parse_yaml_to_openapi(code)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_openapi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> src/generator.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn update(project: Project, code: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/rpc.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start(hostname: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/variable.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | openapiv3::Type::Array(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_name` [INFO] [stdout] --> src/variable.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | class_name: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/extractor/models.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | Type::Array(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/extractor/requests.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | for (name, content) in response.content { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/extractor/requests.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | fn variable_type_from_string(t: &str) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_variable_from_openapi` [INFO] [stdout] --> src/variable.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn extract_variable_from_openapi( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "ffee4fe79bc7c6d76996d93ccdc5beabb37c6c0b3e22e41dcd9f0031503e8414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffee4fe79bc7c6d76996d93ccdc5beabb37c6c0b3e22e41dcd9f0031503e8414", kill_on_drop: false }` [INFO] [stdout] ffee4fe79bc7c6d76996d93ccdc5beabb37c6c0b3e22e41dcd9f0031503e8414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] fffa279b019fe82aa72818cdcf73ef2230575cbf9e9714fa12c44d420a1e6667 [INFO] running `Command { std: "docker" "start" "-a" "fffa279b019fe82aa72818cdcf73ef2230575cbf9e9714fa12c44d420a1e6667", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cdd-openapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `openapi` [INFO] [stdout] --> src/generator.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let openapi = crate::parser::parse_yaml_to_openapi(code)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_openapi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> src/generator.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn update(project: Project, code: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/rpc.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start(hostname: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/variable.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | openapiv3::Type::Array(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_name` [INFO] [stdout] --> src/variable.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | class_name: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/extractor/models.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | Type::Array(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/extractor/requests.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | for (name, content) in response.content { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/extractor/requests.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | fn variable_type_from_string(t: &str) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_variable_from_openapi` [INFO] [stdout] --> src/variable.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn extract_variable_from_openapi( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.84s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cdd_openapi-bfb0315731fa328c) [INFO] running `Command { std: "docker" "inspect" "fffa279b019fe82aa72818cdcf73ef2230575cbf9e9714fa12c44d420a1e6667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffa279b019fe82aa72818cdcf73ef2230575cbf9e9714fa12c44d420a1e6667", kill_on_drop: false }` [INFO] [stdout] fffa279b019fe82aa72818cdcf73ef2230575cbf9e9714fa12c44d420a1e6667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6f7b9809854ca50d7a727fee213e31e2352916a2bc559fa11b0b41637acec23 [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" "d6f7b9809854ca50d7a727fee213e31e2352916a2bc559fa11b0b41637acec23", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `openapi` [INFO] [stderr] --> src/generator.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let openapi = crate::parser::parse_yaml_to_openapi(code)?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_openapi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `project` [INFO] [stderr] --> src/generator.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) fn update(project: Project, code: &str) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hostname` [INFO] [stderr] --> src/rpc.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn start(hostname: &str) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/variable.rs:39:36 [INFO] [stderr] | [INFO] [stderr] 39 | openapiv3::Type::Array(val) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `class_name` [INFO] [stderr] --> src/variable.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | class_name: &str, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/extractor/models.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | Type::Array(val) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/extractor/requests.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | for (name, content) in response.content { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/extractor/requests.rs:85:30 [INFO] [stderr] | [INFO] [stderr] 85 | fn variable_type_from_string(t: &str) -> Option> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `code` [INFO] [stderr] --> src/models.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | code: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/models.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `extract_variable_from_openapi` [INFO] [stderr] --> src/variable.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) fn extract_variable_from_openapi( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cdd-openapi` (bin "cdd-openapi" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cdd_openapi-bfb0315731fa328c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6f7b9809854ca50d7a727fee213e31e2352916a2bc559fa11b0b41637acec23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f7b9809854ca50d7a727fee213e31e2352916a2bc559fa11b0b41637acec23", kill_on_drop: false }` [INFO] [stdout] d6f7b9809854ca50d7a727fee213e31e2352916a2bc559fa11b0b41637acec23