[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b25c0a79262fb96eae4c880e145917f4ac674b1 [INFO] testing robsaunders/cdd-openapi against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robsaunders/cdd-openapi on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd81321e4ec67bdfa0a8d2d75bd71f0d592cdbe52df103bce71e83da4c4a1aa2 [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" "cd81321e4ec67bdfa0a8d2d75bd71f0d592cdbe52df103bce71e83da4c4a1aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd81321e4ec67bdfa0a8d2d75bd71f0d592cdbe52df103bce71e83da4c4a1aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd81321e4ec67bdfa0a8d2d75bd71f0d592cdbe52df103bce71e83da4c4a1aa2", kill_on_drop: false }` [INFO] [stdout] cd81321e4ec67bdfa0a8d2d75bd71f0d592cdbe52df103bce71e83da4c4a1aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c532669657784068f418fb9b7a2b5d5cc7106688540c0db76d6e024fc1e22ce8 [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" "c532669657784068f418fb9b7a2b5d5cc7106688540c0db76d6e024fc1e22ce8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling generic-array v0.12.3 [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 digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling cdd v0.1.0 (https://github.com/offscale/cdd-core#b7c03de6) [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling openapiv3 v0.3.2 [INFO] [stderr] Compiling jsonrpc-server-utils v14.2.0 [INFO] [stderr] Compiling jsonrpc-ws-server v14.2.0 [INFO] [stderr] Compiling cdd-openapi v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "c532669657784068f418fb9b7a2b5d5cc7106688540c0db76d6e024fc1e22ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c532669657784068f418fb9b7a2b5d5cc7106688540c0db76d6e024fc1e22ce8", kill_on_drop: false }` [INFO] [stdout] c532669657784068f418fb9b7a2b5d5cc7106688540c0db76d6e024fc1e22ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 3dc4d9a38223a6ec1efed45a76de65daab50a9c95635456c5d3966fac0063a35 [INFO] running `Command { std: "docker" "start" "-a" "3dc4d9a38223a6ec1efed45a76de65daab50a9c95635456c5d3966fac0063a35", kill_on_drop: false }` [INFO] [stderr] Compiling cdd-openapi v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.16s [INFO] running `Command { std: "docker" "inspect" "3dc4d9a38223a6ec1efed45a76de65daab50a9c95635456c5d3966fac0063a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc4d9a38223a6ec1efed45a76de65daab50a9c95635456c5d3966fac0063a35", kill_on_drop: false }` [INFO] [stdout] 3dc4d9a38223a6ec1efed45a76de65daab50a9c95635456c5d3966fac0063a35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5bc7292c51875d049f18fa2ac4146adc83ebb45ea31a5c93b3b31684351fa953 [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" "5bc7292c51875d049f18fa2ac4146adc83ebb45ea31a5c93b3b31684351fa953", kill_on_drop: false }` [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] = note: `#[warn(unused_variables)]` on by default [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: 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] 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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cdd_openapi-f0452ac0b3552d15 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5bc7292c51875d049f18fa2ac4146adc83ebb45ea31a5c93b3b31684351fa953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc7292c51875d049f18fa2ac4146adc83ebb45ea31a5c93b3b31684351fa953", kill_on_drop: false }` [INFO] [stdout] 5bc7292c51875d049f18fa2ac4146adc83ebb45ea31a5c93b3b31684351fa953