[INFO] cloning repository https://github.com/robsaunders/cdd-rust [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-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d140ffd8e712e3675917f1bc3cb153b3ea2f58c9 [INFO] testing robsaunders/cdd-rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobsaunders%2Fcdd-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/robsaunders/cdd-rust [INFO] finished tweaking git repo https://github.com/robsaunders/cdd-rust [INFO] tweaked toml for git repo https://github.com/robsaunders/cdd-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robsaunders/cdd-rust on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robsaunders/cdd-rust 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f6e512548c47cde3741aa877b85486f0c5e905907a6e92a0e03879691449423 [INFO] running `Command { std: "docker" "start" "-a" "7f6e512548c47cde3741aa877b85486f0c5e905907a6e92a0e03879691449423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f6e512548c47cde3741aa877b85486f0c5e905907a6e92a0e03879691449423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6e512548c47cde3741aa877b85486f0c5e905907a6e92a0e03879691449423", kill_on_drop: false }` [INFO] [stdout] 7f6e512548c47cde3741aa877b85486f0c5e905907a6e92a0e03879691449423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4d4047d7bdeb7e7c06a62089846d39b42b5d91594f90d4eb70412efd6a041371 [INFO] running `Command { std: "docker" "start" "-a" "4d4047d7bdeb7e7c06a62089846d39b42b5d91594f90d4eb70412efd6a041371", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling bstr v0.2.11 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling cdd v0.1.0 (https://github.com/offscale/cdd-core#afe87035) [INFO] [stderr] Compiling jsonrpc-core v14.0.5 [INFO] [stderr] Compiling syn-serde v0.2.0 [INFO] [stderr] Compiling jsonrpc-server-utils v14.0.5 [INFO] [stderr] Compiling jsonrpc-ws-server v14.0.6 [INFO] [stderr] Compiling cdd-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/models.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/models.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/rustfmt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Variable` [INFO] [stdout] --> src/visitors/functions.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use cdd::{Variable, VariableType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/visitors/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fields` and `Type` [INFO] [stdout] --> src/visitors/functions.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{Fields, Item, Type}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VariableType` and `Variable` [INFO] [stdout] --> src/visitors/variables.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use cdd::{Variable, VariableType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/visitors/variables.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::visit::Visit` [INFO] [stdout] --> src/visitors/variables.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::visit::Visit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fields`, `Item`, and `Type` [INFO] [stdout] --> src/visitors/variables.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{Fields, Item, Type}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericArgument` and `PathArguments` [INFO] [stdout] --> src/visitors/variables.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use syn::{GenericArgument, Path, PathArguments, PathSegment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `variables::*` [INFO] [stdout] --> src/visitors/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use variables::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/writers/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> src/server/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let project: Project = crate::parser::parse_code_to_project(¶ms.code) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/writers/variable_type.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | VariableType::ArrayType(vt) => "Vec<_>".to_string(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_to_request` is never used [INFO] [stdout] --> src/extractor/requests.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn struct_to_request(structure: (String, Vec)) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/util/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn read_file(pathbuf: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> src/util/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn write_file(pathbuf: PathBuf, content: &str) -> Result<(), failure::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_structures_from_code` is never used [INFO] [stdout] --> src/visitors/structs.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn extract_structures_from_code( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `variable_declarations` are never read [INFO] [stdout] --> src/visitors/functions.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] 12 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub return_type: Option, [INFO] [stdout] 14 | pub variable_declarations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_typepath_in_type` is never used [INFO] [stdout] --> src/visitors/variables.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn find_typepath_in_type(ty: &syn::Type) -> Option<&Path> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_path_segment` is never used [INFO] [stdout] --> src/visitors/variables.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn find_path_segment(path: &Path, matches: Vec<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEMPLATE` is never used [INFO] [stdout] --> src/writers/requests.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const TEMPLATE: &str = r#"use actix_web::{web, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_TEMPLATE` is never used [INFO] [stdout] --> src/writers/requests.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const METHOD_TEMPLATE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_requests` is never used [INFO] [stdout] --> src/writers/requests.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn print_requests(requests: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_routes` is never used [INFO] [stdout] --> src/writers/requests.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn print_routes(requests: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_methods` is never used [INFO] [stdout] --> src/writers/requests.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn print_methods(requests: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_to_route_call` is never used [INFO] [stdout] --> src/writers/requests.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn request_to_route_call(request: &Request) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_to_string` is never used [INFO] [stdout] --> src/writers/requests.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn request_to_string(request: &Request) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ParseRequest` [INFO] [stdout] 5 | pub struct ParseRequest { [INFO] [stdout] | ------------ `ParseRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UpdateRequest` [INFO] [stdout] 10 | pub struct UpdateRequest { [INFO] [stdout] | ------------- `UpdateRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SerialiseRequest` [INFO] [stdout] 16 | pub struct SerialiseRequest { [INFO] [stdout] | ---------------- `SerialiseRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DeserialiseRequest` [INFO] [stdout] 21 | pub struct DeserialiseRequest { [INFO] [stdout] | ------------------ `DeserialiseRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rustfmt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / child.stdin [INFO] [stdout] 12 | | .as_mut() [INFO] [stdout] 13 | | .map(|child| child.write_all(&input.as_bytes())).expect("rustfmt"); [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = child.stdin [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcaAjCUK/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsyn_serde-2dbcdc8e0a4a7bc2.rlib,libfailure-1c0e6d3fb58b6713.rlib,libbacktrace-7d42165f10f808fb.rlib,libbacktrace_sys-e6cc7d0b3eca4c33.rlib,librustc_demangle-dcc5b1758b30e405.rlib,libsyn-3dfa0a9ac82b343a.rlib,libjsonrpc_ws_server-6450be8bd9df918a.rlib,libparking_lot-d89500f49e373fc1.rlib,libparking_lot_core-3bdd2cf800da3261.rlib,libws-49a6a51a30225c56.rlib,liburl-598bafe12144a287.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libidna-7bee181d09c3ff66.rlib,libunicode_normalization-2016df5d32907b46.rlib,libsmallvec-16d333fbf671e5b3.rlib,libunicode_bidi-3c976b4886511d83.rlib,libmatches-d7125afe50072f5c.rlib,libsha1-bd0c6f30b9ba7e83.rlib,libfake_simd-a91f2f775e698a8f.rlib,libdigest-5f78703e9ac51891.rlib,libopaque_debug-a7962e22a4dc4c30.rlib,libblock_buffer-df4a0c63f87f1b31.rlib,libgeneric_array-c51409444f4147ff.rlib,libtypenum-94c12ce366bf9ba8.rlib,libblock_padding-5934d35e69a00a24.rlib,libbyte_tools-bed8c652a5ea9f13.rlib,librand-49b0e00f80ea09df.rlib,librand_chacha-ab715cc05dc67efc.rlib,libc2_chacha-9e049181c203be6d.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-26be0708af0685e5.rlib,libgetrandom-40f46d3359c0f69f.rlib,libmio_extras-3c8347b4c82fd7d5.rlib,liblazycell-14e21b8b2f4a34b2.rlib,libhttparse-84d0bdd2ca156c81.rlib,libjsonrpc_server_utils-be11bb1ff1abda2b.rlib,libglobset-a3695b5229ca87d2.rlib,libregex-72a317c99e358206.rlib,libthread_local-c6b88a4b7954c5cd.rlib,libregex_syntax-b72136e0d6592f5f.rlib,libbstr-674586a7d79b8784.rlib,libaho_corasick-12292637fcc1de3e.rlib,libmemchr-66f21ea766679294.rlib,libunicase-fe84ff77c3b2c65f.rlib,libtokio-6ade667efa8eb58f.rlib,libtokio_uds-f98e4a377e6fa217.rlib,libmio_uds-1496a22fde22e5db.rlib,libtokio_udp-6f04e49ca41f2ee1.rlib,libtokio_timer-b96f13feac6dfb8a.rlib,libtokio_tcp-06ddea3a56ea67f6.rlib,libtokio_reactor-3ae9bd41bf2f139b.rlib,libtokio_sync-c7249a851265bed8.rlib,libfnv-9e53809b7a9a2c90.rlib,libparking_lot-e871fb3da81f192f.rlib,libparking_lot_core-7be959ac683d230b.rlib,libsmallvec-8b046477ae81064c.rlib,liblock_api-693c3876b2c623d7.rlib,libtokio_fs-1f707883b0829af2.rlib,libtokio_threadpool-b1f58af5f334b021.rlib,libcrossbeam_queue-071d6f1d34837a93.rlib,libcrossbeam_deque-e589ec283b2ea090.rlib,libcrossbeam_epoch-a8e1270ebc85b13c.rlib,libscopeguard-73056285f12cb829.rlib,libmemoffset-731bfe0186a101cd.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,libtokio_current_thread-aa9ed3300af1a025.rlib,libtokio_executor-c9227217b460fc93.rlib,libcrossbeam_utils-3fb9af92267ec0e2.rlib,libtokio_codec-f2e8df5810b574ee.rlib,libtokio_io-bebefcd2fb23b180.rlib,libnum_cpus-72ce5284cf4c7a7b.rlib,libmio-1e7e72362e3a4de6.rlib,libslab-7c577fd9ceb1ab41.rlib,libnet2-814d3f520d0894e2.rlib,libbytes-2583ce81428da373.rlib,libiovec-0a4582409be94eac.rlib,liblibc-90a058efb6f376c8.rlib,libbyteorder-549def2b2525ef52.rlib,libjsonrpc_core-98f42d16162ae928.rlib,libfutures-470ea5797c6b2213.rlib,libserde_json-4d3a5b41944f0b4a.rlib,libryu-625f0220d726d59b.rlib,libitoa-4e5b82117fa569f3.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,liblog-0458da19e351a080.rlib,libcfg_if-2d17986ae484e939.rlib,libquote-31549f762f429379.rlib,libproc_macro2-2a8c865090f67155.rlib,libunicode_xid-cf917f4a71267276.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libproc_macro-*,librustc_literal_escaper-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcdd-9f92f95a1bf0d7e4.rlib,libserde-bc9387aa4a92aed7.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcaAjCUK/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/backtrace-sys-d34775a08017d049/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cdd_rust-bcf3520071af4943" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-40f46d3359c0f69f.rlib(getrandom-40f46d3359c0f69f.getrandom.192117e1836fb2f-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h7517235c591401d8E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdd-rust` (bin "cdd-rust") due to 1 previous error; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d4047d7bdeb7e7c06a62089846d39b42b5d91594f90d4eb70412efd6a041371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4047d7bdeb7e7c06a62089846d39b42b5d91594f90d4eb70412efd6a041371", kill_on_drop: false }` [INFO] [stdout] 4d4047d7bdeb7e7c06a62089846d39b42b5d91594f90d4eb70412efd6a041371