[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] testing shaddyshad/friendly against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaddyshad%2Ffriendly" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaddyshad/friendly on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-18/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00151987e3bef129fca67f52f166f41ae7d285d01ed39349b356c45e2c0a7223 [INFO] running `Command { std: "docker" "start" "-a" "00151987e3bef129fca67f52f166f41ae7d285d01ed39349b356c45e2c0a7223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00151987e3bef129fca67f52f166f41ae7d285d01ed39349b356c45e2c0a7223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00151987e3bef129fca67f52f166f41ae7d285d01ed39349b356c45e2c0a7223", kill_on_drop: false }` [INFO] [stdout] 00151987e3bef129fca67f52f166f41ae7d285d01ed39349b356c45e2c0a7223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbf0fc7dc520ffc28580ef9490ea092bd717c1154bebab42a655c1bd36db0834 [INFO] running `Command { std: "docker" "start" "-a" "fbf0fc7dc520ffc28580ef9490ea092bd717c1154bebab42a655c1bd36db0834", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [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 slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [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 pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [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 percent-encoding v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling reduce v0.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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 rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.2.6 [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 base64 v0.9.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [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 url v2.1.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling env_logger v0.7.1 [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 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 async-trait v0.1.30 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [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 trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [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 trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling actix-connect v1.0.2 [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-http v1.0.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling multipart v0.16.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 48.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [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" "fbf0fc7dc520ffc28580ef9490ea092bd717c1154bebab42a655c1bd36db0834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf0fc7dc520ffc28580ef9490ea092bd717c1154bebab42a655c1bd36db0834", kill_on_drop: false }` [INFO] [stdout] fbf0fc7dc520ffc28580ef9490ea092bd717c1154bebab42a655c1bd36db0834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7bc15176b383e3b6f005957929f4795dc2667a9f31a03c9055d2aab8c00c19e [INFO] running `Command { std: "docker" "start" "-a" "e7bc15176b383e3b6f005957929f4795dc2667a9f31a03c9055d2aab8c00c19e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling interactive_paper v0.1.0 (/opt/rustwide/workdir) [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: 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: 2 warnings emitted [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: 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 1.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e7bc15176b383e3b6f005957929f4795dc2667a9f31a03c9055d2aab8c00c19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7bc15176b383e3b6f005957929f4795dc2667a9f31a03c9055d2aab8c00c19e", kill_on_drop: false }` [INFO] [stdout] e7bc15176b383e3b6f005957929f4795dc2667a9f31a03c9055d2aab8c00c19e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e1a3d7e41c8ada54b6ae645ee1bc602d3efa2ec4bd8243b529e826c0c639cf6 [INFO] running `Command { std: "docker" "start" "-a" "2e1a3d7e41c8ada54b6ae645ee1bc602d3efa2ec4bd8243b529e826c0c639cf6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `Borrowed`, `self` [INFO] [stderr] --> src/question_paper/interface.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use std::borrow::Cow::{self, Borrowed}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/question_paper/mod.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | use std::borrow::Cow::{Borrowed, self}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/intents/resolvers/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/intents/resolvers/intent_parser.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `XmlContent` [INFO] [stderr] --> src/lib.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use parser::{XmlContent, Sink, Tokenizer}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `get`, `post` [INFO] [stderr] --> src/lib.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/lib.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/question_paper/builder/section_builder.rs:127:17 [INFO] [stderr] | [INFO] [stderr] 127 | _ => () [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/question_paper/builder/mod.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | _ => () [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `StartTag` is named the same as one of the variants of the type `TagKind` [INFO] [stderr] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | kind: StartTag, [INFO] [stderr] | ^^^^^^^^ help: to match on the variant, qualify the path: `TagKind::StartTag` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/parser/tokenizer/mod.rs:221:54 [INFO] [stderr] | [INFO] [stderr] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `StartTag` [INFO] [stderr] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | kind: StartTag, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_StartTag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/question_paper/interface.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | Self::Question(ref c) => true, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/question_paper/interface.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | Self::Section(ref c) => true, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/tokenizer/mod.rs:221:41 [INFO] [stderr] | [INFO] [stderr] 221 | fn get_preprocessed_char(&mut self, mut c: char, input: &mut XmlContent) -> Option { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/intents/resolvers/intent_parser.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let mut prev = 0; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/intents/resolvers/mod.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | let mut val = self.value.to_string(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stderr] --> src/intents/resolvers/http.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub async fn get(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `LuResponse` in public interface (error E0446) [INFO] [stderr] --> src/intents/resolvers/intent_parser.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse(&mut self, intent: LuResponse) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `offset` [INFO] [stderr] --> src/intents/resolvers/mod.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | offset: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `relative_to` [INFO] [stderr] --> src/intents/resolvers/mod.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | relative_to: String [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Relative` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/intents/resolvers/mod.rs:100:23 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `top_intent` [INFO] [stderr] --> src/intents/resolvers/mod.rs:203:12 [INFO] [stderr] | [INFO] [stderr] 203 | pub fn top_intent(&self) -> TopIntents { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `StartTag` should have a snake case name [INFO] [stderr] --> src/question_paper/builder/mod.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | kind: StartTag, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `start_tag` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/parser/tokenizer/small_charset.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `interactive_paper` (lib) generated 23 warnings [INFO] [stderr] warning: `interactive_paper` (lib test) generated 24 warnings (23 duplicates) [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:4:88 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::{web, HttpRequest, HttpServer, get, post, HttpResponse, App, Responder, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:10:55 [INFO] [stderr] | [INFO] [stderr] 10 | async fn upload_document(state: web::Data, mut payload: Multipart) -> HttpResponse { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `interactive_paper` (bin "interactive_paper" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/interactive_paper-eb90ce9860239fdc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test parser::tokenizer::small_charset::tests::contains ... ok [INFO] [stdout] test parser::tokenizer::small_charset::tests::nonmember_prefix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/interactive_paper-45757842455e455d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests interactive_paper [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e1a3d7e41c8ada54b6ae645ee1bc602d3efa2ec4bd8243b529e826c0c639cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1a3d7e41c8ada54b6ae645ee1bc602d3efa2ec4bd8243b529e826c0c639cf6", kill_on_drop: false }` [INFO] [stdout] 2e1a3d7e41c8ada54b6ae645ee1bc602d3efa2ec4bd8243b529e826c0c639cf6