[INFO] cloning repository https://github.com/kildevaeld/apigen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kildevaeld/apigen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkildevaeld%2Fapigen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkildevaeld%2Fapigen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b5ac0e93da704a8ffd430b58d05b511017a7f9b [INFO] checking kildevaeld/apigen against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkildevaeld%2Fapigen" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kildevaeld/apigen on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kildevaeld/apigen [INFO] finished tweaking git repo https://github.com/kildevaeld/apigen [INFO] tweaked toml for git repo https://github.com/kildevaeld/apigen written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/kildevaeld/apigen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c2b34494f8f16e0800bca23cfc577d74dbff41a540c6444b241ea091d532604f [INFO] running `Command { std: "docker" "start" "-a" "c2b34494f8f16e0800bca23cfc577d74dbff41a540c6444b241ea091d532604f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2b34494f8f16e0800bca23cfc577d74dbff41a540c6444b241ea091d532604f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b34494f8f16e0800bca23cfc577d74dbff41a540c6444b241ea091d532604f", kill_on_drop: false }` [INFO] [stdout] c2b34494f8f16e0800bca23cfc577d74dbff41a540c6444b241ea091d532604f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbfd6063bee8ad53f09bb7b054489f8b3f8a66dcd6bc574897abc23eaf5dcc1a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dbfd6063bee8ad53f09bb7b054489f8b3f8a66dcd6bc574897abc23eaf5dcc1a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.12 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking rand_isaac v0.1.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking smallvec v0.6.6 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking heck v0.3.0 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking libflate v0.1.18 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking phf_shared v0.7.23 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking plugins v0.3.0 (https://github.com/kildevaeld/rust-plugins?branch=master#07bfda9d) [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Checking hyper v0.12.16 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.5 [INFO] [stderr] Checking api-parser v0.1.0 (/opt/rustwide/workdir/api-parser) [INFO] [stderr] Checking api-support v0.1.0 (/opt/rustwide/workdir/api-support) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-support/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain!{ [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Http(reqwest::Error); [INFO] [stdout] 8 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-support/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain!{ [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Http(reqwest::Error); [INFO] [stdout] 8 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-support/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain!{ [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Http(reqwest::Error); [INFO] [stdout] 8 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-support/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain!{ [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Http(reqwest::Error); [INFO] [stdout] 8 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> api-support/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain!{ [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Http(reqwest::Error); [INFO] [stdout] 8 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-support/src/utils.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut url: Url = endpoint.parse()?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-support/src/utils.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut full_path = path.join("/"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> api-support/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain!{ [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Http(reqwest::Error); [INFO] [stdout] 8 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-support/src/utils.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut url: Url = endpoint.parse()?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-support/src/utils.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut full_path = path.join("/"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> api-parser/src/error.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> api-parser/src/error.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-parser/src/lexer.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | ParserError::Syntax(String::from(err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> api-parser/src/parser.rs:406:35 [INFO] [stdout] | [INFO] [stdout] 406 | span.as_str().trim_left_matches(':').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-parser/src/lexer.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | ParserError::Syntax(String::from(err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> api-parser/src/parser.rs:406:35 [INFO] [stdout] | [INFO] [stdout] 406 | span.as_str().trim_left_matches(':').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking api-analyzer v0.1.0 (/opt/rustwide/workdir/api-analyzer) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> api-analyzer/src/error.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> api-analyzer/src/error.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> api-analyzer/src/passes/typevalidator.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> api-analyzer/src/passes/typevalidator.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | expr: &GenericRecordExpression, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> api-analyzer/src/passes/typevalidator.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | scope: &Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> api-analyzer/src/passes/typevalidator.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> api-analyzer/src/passes/typevalidator.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | expr: &GenericRecordExpression, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> api-analyzer/src/passes/typevalidator.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | scope: &Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking api-codegen v0.1.0 (/opt/rustwide/workdir/api-codegen) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api_parser::expressions::ModuleExpression` [INFO] [stdout] --> api-codegen/src/repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api_parser::expressions::ModuleExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Result` [INFO] [stdout] --> api-codegen/src/repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api_parser::expressions::ModuleExpression` [INFO] [stdout] --> api-codegen/src/repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api_parser::expressions::ModuleExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Result` [INFO] [stdout] --> api-codegen/src/repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-codegen/src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain!{ [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 7 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-codegen/src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain!{ [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 7 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-codegen/src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain!{ [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 7 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-codegen/src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain!{ [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 7 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> api-codegen/src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain!{ [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 7 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> api-codegen/src/repository.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn add_from_path(&mut self, filename: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-codegen/src/code_generator.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut modules: Vec = (&results).into_iter().map(|m| m.0.clone()).collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> api-codegen/src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain!{ [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 7 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> api-codegen/src/repository.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn add_from_path(&mut self, filename: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-codegen/src/code_generator.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut modules: Vec = (&results).into_iter().map(|m| m.0.clone()).collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> api-codegen/src/repository.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> api-codegen/src/repository.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generator` [INFO] [stdout] --> api-codegen/src/repository.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | generator: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> api-codegen/src/repository.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> api-codegen/src/repository.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> api-codegen/src/repository.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> api-codegen/src/repository.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generator` [INFO] [stdout] --> api-codegen/src/repository.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | generator: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> api-codegen/src/repository.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> api-codegen/src/repository.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking api-extensions v0.1.0 (/opt/rustwide/workdir/api-extensions) [INFO] [stderr] Checking api-codegen-rust v0.1.0 (/opt/rustwide/workdir/api-codegen-rust) [INFO] [stderr] Checking api-core v0.1.0 (/opt/rustwide/workdir/api-core) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> api-codegen-rust/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserType` [INFO] [stdout] --> api-codegen-rust/src/visitor/type_visitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | UserType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-core/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> api-codegen-rust/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserType` [INFO] [stdout] --> api-codegen-rust/src/visitor/type_visitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | UserType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-core/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-core/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> api-core/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> api-core/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> api-codegen-rust/src/visitor/endpoint_visitor.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | HttpEndpointPropertyExpression::Auth(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> api-codegen-rust/src/visitor/enum_visitor.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn visit_enum(&self, module: &ModuleExpression, exp: &EnumExpression) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> api-core/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> api-codegen-rust/src/visitor/endpoint_visitor.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | HttpEndpointPropertyExpression::Auth(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> api-codegen-rust/src/visitor/enum_visitor.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn visit_enum(&self, module: &ModuleExpression, exp: &EnumExpression) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-codegen-rust/src/visitor/module_visitor.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut imports = ast.imports.iter().map(|m| m.name()).collect::>(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_visitor` [INFO] [stdout] --> api-codegen-rust/src/visitor/enum_visitor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | type_visitor: TypeExpressionVisitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking apigen v0.1.0 (/opt/rustwide/workdir/apigen) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api-codegen-rust/src/visitor/module_visitor.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut imports = ast.imports.iter().map(|m| m.name()).collect::>(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_visitor` [INFO] [stdout] --> api-codegen-rust/src/visitor/enum_visitor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | type_visitor: TypeExpressionVisitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> apigen/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> apigen/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> apigen/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> apigen/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> apigen/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> apigen/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain!{ [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stdout] 11 | | Analyzer(api_analyzer::AnalyzerError) #[doc = "Error during analyzation"]; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "dbfd6063bee8ad53f09bb7b054489f8b3f8a66dcd6bc574897abc23eaf5dcc1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfd6063bee8ad53f09bb7b054489f8b3f8a66dcd6bc574897abc23eaf5dcc1a", kill_on_drop: false }` [INFO] [stdout] dbfd6063bee8ad53f09bb7b054489f8b3f8a66dcd6bc574897abc23eaf5dcc1a