[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] checking robsaunders/cdd-openapi against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robsaunders/cdd-openapi on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding cdd v0.1.0 (https://github.com/offscale/cdd-core#b7c03de6) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.7.9 [INFO] [stderr] Downloaded openapiv3 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 105b7161d2d6f7a994543066600288bf1636e4556d29facab82cea88d756c186 [INFO] running `Command { std: "docker" "start" "-a" "105b7161d2d6f7a994543066600288bf1636e4556d29facab82cea88d756c186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "105b7161d2d6f7a994543066600288bf1636e4556d29facab82cea88d756c186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105b7161d2d6f7a994543066600288bf1636e4556d29facab82cea88d756c186", kill_on_drop: false }` [INFO] [stdout] 105b7161d2d6f7a994543066600288bf1636e4556d29facab82cea88d756c186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 844baa7290c93313f4d793fdcc0886f7140a67f6147c75a13d99f0b5d8f9690d [INFO] running `Command { std: "docker" "start" "-a" "844baa7290c93313f4d793fdcc0886f7140a67f6147c75a13d99f0b5d8f9690d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking bstr v0.2.11 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking ws v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking cdd v0.1.0 (https://github.com/offscale/cdd-core#b7c03de6) [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking jsonrpc-core v14.0.5 [INFO] [stderr] Checking openapiv3 v0.3.0 [INFO] [stderr] Checking jsonrpc-server-utils v14.0.5 [INFO] [stderr] Checking jsonrpc-ws-server v14.0.6 [INFO] [stderr] Checking 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: `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: `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: field `code` is never read [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ParseRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variable_from_openapi` is never used [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] [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: field `code` is never read [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ParseRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variable_from_openapi` is never used [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` profile [unoptimized + debuginfo] target(s) in 8.25s [INFO] running `Command { std: "docker" "inspect" "844baa7290c93313f4d793fdcc0886f7140a67f6147c75a13d99f0b5d8f9690d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844baa7290c93313f4d793fdcc0886f7140a67f6147c75a13d99f0b5d8f9690d", kill_on_drop: false }` [INFO] [stdout] 844baa7290c93313f4d793fdcc0886f7140a67f6147c75a13d99f0b5d8f9690d [INFO] checking robsaunders/cdd-openapi against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-openapi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robsaunders/cdd-openapi on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/offscale/cdd-core` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding cdd v0.1.0 (https://github.com/offscale/cdd-core#b7c03de6) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76a84120ce42ab2f3918bb001758fea221fec6fdeca857eee9ce370640022cf1 [INFO] running `Command { std: "docker" "start" "-a" "76a84120ce42ab2f3918bb001758fea221fec6fdeca857eee9ce370640022cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76a84120ce42ab2f3918bb001758fea221fec6fdeca857eee9ce370640022cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a84120ce42ab2f3918bb001758fea221fec6fdeca857eee9ce370640022cf1", kill_on_drop: false }` [INFO] [stdout] 76a84120ce42ab2f3918bb001758fea221fec6fdeca857eee9ce370640022cf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a85983b502c0929df9d848c97499b216f6874ed52bb30e4c58610b0816a017b [INFO] running `Command { std: "docker" "start" "-a" "4a85983b502c0929df9d848c97499b216f6874ed52bb30e4c58610b0816a017b", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking bstr v0.2.11 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking ws v0.9.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking cdd v0.1.0 (https://github.com/offscale/cdd-core#b7c03de6) [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking jsonrpc-core v14.0.5 [INFO] [stderr] Checking openapiv3 v0.3.0 [INFO] [stderr] Checking jsonrpc-server-utils v14.0.5 [INFO] [stderr] Checking jsonrpc-ws-server v14.0.6 [INFO] [stderr] Checking 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: `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: `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: `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: `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: field `code` is never read [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ParseRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variable_from_openapi` is never used [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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | openapi.components.clone().map(|components| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | / components.schemas.into_iter().map(|(component_name, schema)| { [INFO] [stdout] 14 | | // IndexMap> [INFO] [stdout] 15 | | // represents each model, wrapped in a schema. could be an array type, [INFO] [stdout] 16 | | // which doesn't translate to a class model. [INFO] [stdout] ... | [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | }).collect() [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 22 | data.get.map(|operation| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | requests.push(openapi_operation_to_request( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 24 | | path.clone(), [INFO] [stdout] 25 | | Method::Get, [INFO] [stdout] 26 | | operation, [INFO] [stdout] 27 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 29 | data.put.map(|operation| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | requests.push(openapi_operation_to_request( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | path.clone(), [INFO] [stdout] 32 | | Method::Put, [INFO] [stdout] 33 | | operation, [INFO] [stdout] 34 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 36 | data.post.map(|operation| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | requests.push(openapi_operation_to_request( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | path.clone(), [INFO] [stdout] 39 | | Method::Post, [INFO] [stdout] 40 | | operation, [INFO] [stdout] 41 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 48 | fn openapi_operation_to_request(path: String, method: Method, operation: Operation) -> Request { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | params: extract_params_from_openapi(operation.parameters) [INFO] [stdout] | _________________^ [INFO] [stdout] 55 | | .into_iter() [INFO] [stdout] 56 | | .map(|v| Box::new(v)) [INFO] [stdout] 57 | | .collect(), [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 48 | fn openapi_operation_to_request(path: String, method: Method, operation: Operation) -> Request { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | response_type: extract_response_type_from_openapi(operation.responses), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn openapi_operation_to_request(path: String, method: Method, operation: Operation) -> Request { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | error_type: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ParseRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variable_from_openapi` is never used [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | let openapi: OpenAPI = parse_yaml_to_openapi(code)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Ok(crate::extractor::extract_project_from_openapi(&openapi)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | let mut io = IoHandler::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let server = ServerBuilder::new(io) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | server.wait().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 71 | fn default(params: jsonrpc_core::Params) -> std::result::Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let default = crate::fixtures::petstore(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | / serde_yaml::to_string(&default) [INFO] [stdout] 77 | | .map(|code| serde_json::json!({ "code": code })) [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | openapi.components.clone().map(|components| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | / components.schemas.into_iter().map(|(component_name, schema)| { [INFO] [stdout] 14 | | // IndexMap> [INFO] [stdout] 15 | | // represents each model, wrapped in a schema. could be an array type, [INFO] [stdout] 16 | | // which doesn't translate to a class model. [INFO] [stdout] ... | [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | }).collect() [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn parse(params: jsonrpc_core::Params) -> std::result::Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | / crate::parser::parse_yaml_to_project(&request.code) [INFO] [stdout] 123 | | .map(|project: cdd::Project| serde_json::json!({"project": project, "code": ""})) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 22 | data.get.map(|operation| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | requests.push(openapi_operation_to_request( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 24 | | path.clone(), [INFO] [stdout] 25 | | Method::Get, [INFO] [stdout] 26 | | operation, [INFO] [stdout] 27 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/template.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(crate::parser::parse_yaml_to_openapi(&file_content)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 29 | data.put.map(|operation| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | requests.push(openapi_operation_to_request( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | path.clone(), [INFO] [stdout] 32 | | Method::Put, [INFO] [stdout] 33 | | operation, [INFO] [stdout] 34 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 36 | data.post.map(|operation| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | requests.push(openapi_operation_to_request( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | path.clone(), [INFO] [stdout] 39 | | Method::Post, [INFO] [stdout] 40 | | operation, [INFO] [stdout] 41 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 48 | fn openapi_operation_to_request(path: String, method: Method, operation: Operation) -> Request { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | params: extract_params_from_openapi(operation.parameters) [INFO] [stdout] | _________________^ [INFO] [stdout] 55 | | .into_iter() [INFO] [stdout] 56 | | .map(|v| Box::new(v)) [INFO] [stdout] 57 | | .collect(), [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 48 | fn openapi_operation_to_request(path: String, method: Method, operation: Operation) -> Request { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | response_type: extract_response_type_from_openapi(operation.responses), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extractor/requests.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn openapi_operation_to_request(path: String, method: Method, operation: Operation) -> Request { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | error_type: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/variable.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | let openapi: OpenAPI = parse_yaml_to_openapi(code)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Ok(crate::extractor::extract_project_from_openapi(&openapi)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | let mut io = IoHandler::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let server = ServerBuilder::new(io) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | server.wait().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 71 | fn default(params: jsonrpc_core::Params) -> std::result::Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let default = crate::fixtures::petstore(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | / serde_yaml::to_string(&default) [INFO] [stdout] 77 | | .map(|code| serde_json::json!({ "code": code })) [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rpc.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn parse(params: jsonrpc_core::Params) -> std::result::Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | / crate::parser::parse_yaml_to_project(&request.code) [INFO] [stdout] 123 | | .map(|project: cdd::Project| serde_json::json!({"project": project, "code": ""})) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/template.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(crate::parser::parse_yaml_to_openapi(&file_content)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/variable.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdd-openapi` (bin "cdd-openapi") due to 14 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cdd-openapi` (bin "cdd-openapi" test) due to 14 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a85983b502c0929df9d848c97499b216f6874ed52bb30e4c58610b0816a017b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a85983b502c0929df9d848c97499b216f6874ed52bb30e4c58610b0816a017b", kill_on_drop: false }` [INFO] [stdout] 4a85983b502c0929df9d848c97499b216f6874ed52bb30e4c58610b0816a017b