[INFO] cloning repository https://github.com/shaddyshad/friendly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaddyshad/friendly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaddyshad%2Ffriendly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaddyshad%2Ffriendly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24f07d5b850be1f5eee23a2ca0eaed00fd667fdd [INFO] building shaddyshad/friendly against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaddyshad%2Ffriendly" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaddyshad/friendly on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaddyshad/friendly [INFO] finished tweaking git repo https://github.com/shaddyshad/friendly [INFO] tweaked toml for git repo https://github.com/shaddyshad/friendly written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/shaddyshad/friendly already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3f8e7efbec55b7662d5cfd049b1b0840450ef6a29131f2111b8fcb9cd7381d7 [INFO] running `Command { std: "docker" "start" "-a" "d3f8e7efbec55b7662d5cfd049b1b0840450ef6a29131f2111b8fcb9cd7381d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f8e7efbec55b7662d5cfd049b1b0840450ef6a29131f2111b8fcb9cd7381d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f8e7efbec55b7662d5cfd049b1b0840450ef6a29131f2111b8fcb9cd7381d7", kill_on_drop: false }` [INFO] [stdout] d3f8e7efbec55b7662d5cfd049b1b0840450ef6a29131f2111b8fcb9cd7381d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05484f73a48775e7ddbd1b717e34b9b1c8bc4541aca19caa6d9f9eba0db761fa [INFO] running `Command { std: "docker" "start" "-a" "05484f73a48775e7ddbd1b717e34b9b1c8bc4541aca19caa6d9f9eba0db761fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling reduce v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-rt v1.1.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-multipart v0.2.0 [INFO] [stderr] Compiling interactive_paper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Borrowed`, `self` [INFO] [stdout] --> src/question_paper/interface.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow::{self, Borrowed}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/question_paper/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Cow::{Borrowed, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/intents/resolvers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/intents/resolvers/intent_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XmlContent` [INFO] [stdout] --> src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::{XmlContent, Sink, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `get`, `post` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/question_paper/builder/section_builder.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/question_paper/builder/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `StartTag` is named the same as one of the variants of the type `TagKind` [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `TagKind::StartTag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser/tokenizer/mod.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `StartTag` [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_StartTag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/question_paper/interface.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | Self::Question(ref c) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/question_paper/interface.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | Self::Section(ref c) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/tokenizer/mod.rs:221:41 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [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] --> src/intents/resolvers/intent_parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut prev = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intents/resolvers/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut val = self.value.to_string(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stdout] --> src/intents/resolvers/http.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stdout] --> src/intents/resolvers/intent_parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(&mut self, intent: LuResponse) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/intents/resolvers/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | offset: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relative_to` [INFO] [stdout] --> src/intents/resolvers/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | relative_to: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_intent` [INFO] [stdout] --> src/intents/resolvers/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn top_intent(&self) -> TopIntents { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `StartTag` should have a snake case name [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `start_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:4:88 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | async fn upload_document(state: web::Data, mut payload: Multipart) -> HttpResponse { [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tendril v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "05484f73a48775e7ddbd1b717e34b9b1c8bc4541aca19caa6d9f9eba0db761fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05484f73a48775e7ddbd1b717e34b9b1c8bc4541aca19caa6d9f9eba0db761fa", kill_on_drop: false }` [INFO] [stdout] 05484f73a48775e7ddbd1b717e34b9b1c8bc4541aca19caa6d9f9eba0db761fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28ef1c53fe516e71082fbfdc1cef5e0cd4afffc291226e71f73392055e3f5118 [INFO] running `Command { std: "docker" "start" "-a" "28ef1c53fe516e71082fbfdc1cef5e0cd4afffc291226e71f73392055e3f5118", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Borrowed`, `self` [INFO] [stdout] --> src/question_paper/interface.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow::{self, Borrowed}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/question_paper/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Cow::{Borrowed, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/intents/resolvers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/intents/resolvers/intent_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XmlContent` [INFO] [stdout] --> src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::{XmlContent, Sink, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `get`, `post` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/question_paper/builder/section_builder.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/question_paper/builder/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `StartTag` is named the same as one of the variants of the type `TagKind` [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `TagKind::StartTag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser/tokenizer/mod.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `StartTag` [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_StartTag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/question_paper/interface.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | Self::Question(ref c) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/question_paper/interface.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | Self::Section(ref c) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/tokenizer/mod.rs:221:41 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [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] --> src/intents/resolvers/intent_parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut prev = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intents/resolvers/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut val = self.value.to_string(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stdout] --> src/intents/resolvers/http.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stdout] --> src/intents/resolvers/intent_parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(&mut self, intent: LuResponse) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/intents/resolvers/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | offset: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relative_to` [INFO] [stdout] --> src/intents/resolvers/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | relative_to: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_intent` [INFO] [stdout] --> src/intents/resolvers/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn top_intent(&self) -> TopIntents { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling interactive_paper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `StartTag` should have a snake case name [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `start_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:4:88 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | async fn upload_document(state: web::Data, mut payload: Multipart) -> HttpResponse { [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: unused imports: `Borrowed`, `self` [INFO] [stdout] --> src/question_paper/interface.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow::{self, Borrowed}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/question_paper/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Cow::{Borrowed, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/intents/resolvers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/intents/resolvers/intent_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XmlContent` [INFO] [stdout] --> src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::{XmlContent, Sink, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `get`, `post` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser/tokenizer/small_charset.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/question_paper/builder/section_builder.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/question_paper/builder/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `StartTag` is named the same as one of the variants of the type `TagKind` [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `TagKind::StartTag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser/tokenizer/mod.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `StartTag` [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_StartTag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/question_paper/interface.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | Self::Question(ref c) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/question_paper/interface.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | Self::Section(ref c) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/tokenizer/mod.rs:221:41 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [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] --> src/intents/resolvers/intent_parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut prev = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intents/resolvers/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut val = self.value.to_string(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stdout] --> src/intents/resolvers/http.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stdout] --> src/intents/resolvers/intent_parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(&mut self, intent: LuResponse) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/intents/resolvers/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | offset: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relative_to` [INFO] [stdout] --> src/intents/resolvers/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | relative_to: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_intent` [INFO] [stdout] --> src/intents/resolvers/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn top_intent(&self) -> TopIntents { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `StartTag` should have a snake case name [INFO] [stdout] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | kind: StartTag, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `start_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tendril v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/interactive_paper-5c2a5fa8e183bf75) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/interactive_paper-0420e32856b571e7) [INFO] running `Command { std: "docker" "inspect" "28ef1c53fe516e71082fbfdc1cef5e0cd4afffc291226e71f73392055e3f5118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ef1c53fe516e71082fbfdc1cef5e0cd4afffc291226e71f73392055e3f5118", kill_on_drop: false }` [INFO] [stdout] 28ef1c53fe516e71082fbfdc1cef5e0cd4afffc291226e71f73392055e3f5118