[INFO] cloning repository https://github.com/fredrikpe/less2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredrikpe/less2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikpe%2Fless2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikpe%2Fless2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c801b0be3f5aaaeddb49b54b4854aa83505500db [INFO] checking fredrikpe/less2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikpe%2Fless2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredrikpe/less2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fredrikpe/less2 [INFO] finished tweaking git repo https://github.com/fredrikpe/less2 [INFO] tweaked toml for git repo https://github.com/fredrikpe/less2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fredrikpe/less2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded globset v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.80 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded serde v1.0.80 [INFO] [stderr] Downloaded syn v0.15.21 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded grep-regex v0.1.1 [INFO] [stderr] Downloaded grep-printer v0.1.1 [INFO] [stderr] Downloaded grep-matcher v0.1.1 [INFO] [stderr] Downloaded grep-cli v0.1.1 [INFO] [stderr] Downloaded encoding_rs_io v0.1.3 [INFO] [stderr] Downloaded grep-searcher v0.1.1 [INFO] [stderr] Downloaded grep v0.2.3 [INFO] [stderr] Downloaded encoding_rs v0.8.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4cc2a7d6337448a822c50b6fc30199cbf1bc00624e266c339c0828739eff0ed [INFO] running `Command { std: "docker" "start" "-a" "c4cc2a7d6337448a822c50b6fc30199cbf1bc00624e266c339c0828739eff0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4cc2a7d6337448a822c50b6fc30199cbf1bc00624e266c339c0828739eff0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cc2a7d6337448a822c50b6fc30199cbf1bc00624e266c339c0828739eff0ed", kill_on_drop: false }` [INFO] [stdout] c4cc2a7d6337448a822c50b6fc30199cbf1bc00624e266c339c0828739eff0ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac686a05bbb352ceafe15c9a8d8d7dc43ee3c99b2fe91205d302eb6da23384bd [INFO] running `Command { std: "docker" "start" "-a" "ac686a05bbb352ceafe15c9a8d8d7dc43ee3c99b2fe91205d302eb6da23384bd", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.12 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking grep-matcher v0.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Checking encoding_rs_io v0.1.3 [INFO] [stderr] Checking grep-searcher v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking globset v0.4.2 [INFO] [stderr] Checking grep-regex v0.1.1 [INFO] [stderr] Checking grep-cli v0.1.1 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking grep-printer v0.1.1 [INFO] [stderr] Checking grep v0.2.3 [INFO] [stderr] Checking less2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/reader.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 382 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 383 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | err!(Some(1)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | match (first, next!()) { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | _ => err!(Some(1)), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | err!(Some(2)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | match (first, next!()) { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | _ => err!(Some(1)), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 167 | err!(Some(2)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | err!(Some(3)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 169 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | _ => err!(Some(1)), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | err!(Some(1)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | match (first, next!()) { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | _ => err!(Some(1)), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | err!(Some(2)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | match (first, next!()) { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | _ => err!(Some(1)), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 167 | err!(Some(2)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | err!(Some(3)) [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 169 | if next!() & !CONT_MASK != TAG_CONT_U8 { [INFO] [stdout] | ------- in this macro invocation [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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `err` [INFO] [stdout] = note: this warning originates in the macro `err` which comes from the expansion of the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utf8_validation.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | _ => err!(Some(1)), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/printer.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some((index, grapheme)) = iter.next() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/printer.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some((index, grapheme)) = iter.next() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/reader.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct StdinCursor { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 204 | cursor: Cursor>, [INFO] [stdout] 205 | pub file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StdinCursor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/reader.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct StdinCursor { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 204 | cursor: Cursor>, [INFO] [stdout] 205 | pub file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StdinCursor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: less2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ac686a05bbb352ceafe15c9a8d8d7dc43ee3c99b2fe91205d302eb6da23384bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac686a05bbb352ceafe15c9a8d8d7dc43ee3c99b2fe91205d302eb6da23384bd", kill_on_drop: false }` [INFO] [stdout] ac686a05bbb352ceafe15c9a8d8d7dc43ee3c99b2fe91205d302eb6da23384bd