[INFO] updating cached repository https://github.com/robsaunders/cdd-openapi [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6b25c0a79262fb96eae4c880e145917f4ac674b1 [INFO] testing robsaunders/cdd-openapi against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robsaunders/cdd-openapi on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/robsaunders/cdd-openapi already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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 `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 9fb74cea10b5fb13fa09000155856b42154c1d56738dfb0ea45afe14c945f3c3 [INFO] running `"docker" "start" "-a" "9fb74cea10b5fb13fa09000155856b42154c1d56738dfb0ea45afe14c945f3c3"` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.2.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 globset v0.4.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.3 [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 synstructure v0.12.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling serde v1.0.106 [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.51 [INFO] [stderr] Compiling jsonrpc-core v14.1.0 [INFO] [stderr] Compiling openapiv3 v0.3.0 [INFO] [stderr] Compiling jsonrpc-server-utils v14.1.0 [INFO] [stderr] Compiling jsonrpc-ws-server v14.1.0 [INFO] [stderr] Compiling cdd-openapi v0.1.0 (/opt/rustwide/workdir) [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 dev [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `"docker" "inspect" "9fb74cea10b5fb13fa09000155856b42154c1d56738dfb0ea45afe14c945f3c3"` [INFO] running `"docker" "rm" "-f" "9fb74cea10b5fb13fa09000155856b42154c1d56738dfb0ea45afe14c945f3c3"` [INFO] [stdout] 9fb74cea10b5fb13fa09000155856b42154c1d56738dfb0ea45afe14c945f3c3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] a2913e21713f995adcda631596671f0b564fb693dd691a0d5a6522411ab352e5 [INFO] running `"docker" "start" "-a" "a2913e21713f995adcda631596671f0b564fb693dd691a0d5a6522411ab352e5"` [INFO] [stderr] Compiling cdd-openapi v0.1.0 (/opt/rustwide/workdir) [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 2.36s [INFO] running `"docker" "inspect" "a2913e21713f995adcda631596671f0b564fb693dd691a0d5a6522411ab352e5"` [INFO] running `"docker" "rm" "-f" "a2913e21713f995adcda631596671f0b564fb693dd691a0d5a6522411ab352e5"` [INFO] [stdout] a2913e21713f995adcda631596671f0b564fb693dd691a0d5a6522411ab352e5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f4d6216ea62e55a8c15afeedcff5a71d0313870e962dc1fa0a546f6acceb36c5 [INFO] running `"docker" "start" "-a" "f4d6216ea62e55a8c15afeedcff5a71d0313870e962dc1fa0a546f6acceb36c5"` [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.55s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cdd_openapi-b437611af4b3361b [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 `"docker" "inspect" "f4d6216ea62e55a8c15afeedcff5a71d0313870e962dc1fa0a546f6acceb36c5"` [INFO] running `"docker" "rm" "-f" "f4d6216ea62e55a8c15afeedcff5a71d0313870e962dc1fa0a546f6acceb36c5"` [INFO] [stdout] f4d6216ea62e55a8c15afeedcff5a71d0313870e962dc1fa0a546f6acceb36c5