[INFO] cloning repository https://github.com/Michael0x2a/impo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Michael0x2a/impo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael0x2a%2Fimpo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael0x2a%2Fimpo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a49d12d09be2b0e4f97419d7165a8a79dd845cd [INFO] checking Michael0x2a/impo against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael0x2a%2Fimpo" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michael0x2a/impo on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Michael0x2a/impo [INFO] finished tweaking git repo https://github.com/Michael0x2a/impo [INFO] tweaked toml for git repo https://github.com/Michael0x2a/impo written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/Michael0x2a/impo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc825eed41496696f0f9c76c9755e8745257d60254514912f77498f4fc2f92d5 [INFO] running `Command { std: "docker" "start" "-a" "cc825eed41496696f0f9c76c9755e8745257d60254514912f77498f4fc2f92d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc825eed41496696f0f9c76c9755e8745257d60254514912f77498f4fc2f92d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc825eed41496696f0f9c76c9755e8745257d60254514912f77498f4fc2f92d5", kill_on_drop: false }` [INFO] [stdout] cc825eed41496696f0f9c76c9755e8745257d60254514912f77498f4fc2f92d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba1ac4a66c3b37f5644ec6b0028c04e9c9fa9b69a049db2582bc546da85700ff [INFO] running `Command { std: "docker" "start" "-a" "ba1ac4a66c3b37f5644ec6b0028c04e9c9fa9b69a049db2582bc546da85700ff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.21 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking impo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / (self.token_type == TokenType::Comment [INFO] [stdout] 96 | | || self.token_type == TokenType::Whitespace) [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 ~ self.token_type == TokenType::Comment [INFO] [stdout] 96 + || self.token_type == TokenType::Whitespace [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / (self.token_type == TokenType::EqualEqual [INFO] [stdout] 101 | | || self.token_type == TokenType::BangEqual) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 ~ self.token_type == TokenType::EqualEqual [INFO] [stdout] 101 + || self.token_type == TokenType::BangEqual [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / (self.token_type == TokenType::Greater [INFO] [stdout] 106 | | || self.token_type == TokenType::GreaterEqual [INFO] [stdout] 107 | | || self.token_type == TokenType::Less [INFO] [stdout] 108 | | || self.token_type == TokenType::LessEqual) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 ~ self.token_type == TokenType::Greater [INFO] [stdout] 106 + || self.token_type == TokenType::GreaterEqual [INFO] [stdout] 107 + || self.token_type == TokenType::Less [INFO] [stdout] 108 + || self.token_type == TokenType::LessEqual [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / (self.token_type == TokenType::Plus [INFO] [stdout] 113 | | || self.token_type == TokenType::Minus) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 ~ self.token_type == TokenType::Plus [INFO] [stdout] 113 + || self.token_type == TokenType::Minus [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / (self.token_type == TokenType::Star [INFO] [stdout] 118 | | || self.token_type == TokenType::Slash [INFO] [stdout] 119 | | || self.token_type == TokenType::SlashSlash [INFO] [stdout] 120 | | || self.token_type == TokenType::Percent) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 ~ self.token_type == TokenType::Star [INFO] [stdout] 118 + || self.token_type == TokenType::Slash [INFO] [stdout] 119 + || self.token_type == TokenType::SlashSlash [INFO] [stdout] 120 + || self.token_type == TokenType::Percent [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / (self.token_type == TokenType::Bang [INFO] [stdout] 125 | | || self.token_type == TokenType::Minus) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 ~ self.token_type == TokenType::Bang [INFO] [stdout] 125 + || self.token_type == TokenType::Minus [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/typecheck/infer.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | fn is_one_of(typ: ImpoType, matchers: &Vec<&Fn(ImpoType) -> bool>) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(ImpoType) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/interpreter.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | int_op: &Fn(i64, i64) -> i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i64, i64) -> i64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/interpreter.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | float_op: &Fn(f64, f64) -> f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> f64` [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / (self.token_type == TokenType::Comment [INFO] [stdout] 96 | | || self.token_type == TokenType::Whitespace) [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 ~ self.token_type == TokenType::Comment [INFO] [stdout] 96 + || self.token_type == TokenType::Whitespace [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / (self.token_type == TokenType::EqualEqual [INFO] [stdout] 101 | | || self.token_type == TokenType::BangEqual) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 ~ self.token_type == TokenType::EqualEqual [INFO] [stdout] 101 + || self.token_type == TokenType::BangEqual [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/typed.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pool: &'a ReadOnlyStringPool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReadOnlyStringPool` [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / (self.token_type == TokenType::Greater [INFO] [stdout] 106 | | || self.token_type == TokenType::GreaterEqual [INFO] [stdout] 107 | | || self.token_type == TokenType::Less [INFO] [stdout] 108 | | || self.token_type == TokenType::LessEqual) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 ~ self.token_type == TokenType::Greater [INFO] [stdout] 106 + || self.token_type == TokenType::GreaterEqual [INFO] [stdout] 107 + || self.token_type == TokenType::Less [INFO] [stdout] 108 + || self.token_type == TokenType::LessEqual [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / (self.token_type == TokenType::Plus [INFO] [stdout] 113 | | || self.token_type == TokenType::Minus) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 ~ self.token_type == TokenType::Plus [INFO] [stdout] 113 + || self.token_type == TokenType::Minus [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/typed.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(pool: &'a ReadOnlyStringPool) -> TypedNodeToStrVisitor<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReadOnlyStringPool` [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / (self.token_type == TokenType::Star [INFO] [stdout] 118 | | || self.token_type == TokenType::Slash [INFO] [stdout] 119 | | || self.token_type == TokenType::SlashSlash [INFO] [stdout] 120 | | || self.token_type == TokenType::Percent) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 ~ self.token_type == TokenType::Star [INFO] [stdout] 118 + || self.token_type == TokenType::Slash [INFO] [stdout] 119 + || self.token_type == TokenType::SlashSlash [INFO] [stdout] 120 + || self.token_type == TokenType::Percent [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser/tokens.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / (self.token_type == TokenType::Bang [INFO] [stdout] 125 | | || self.token_type == TokenType::Minus) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 ~ self.token_type == TokenType::Bang [INFO] [stdout] 125 + || self.token_type == TokenType::Minus [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/typecheck/infer.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | fn is_one_of(typ: ImpoType, matchers: &Vec<&Fn(ImpoType) -> bool>) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(ImpoType) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/interpreter.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | int_op: &Fn(i64, i64) -> i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i64, i64) -> i64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/interpreter.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | float_op: &Fn(f64, f64) -> f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> f64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/typed.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pool: &'a ReadOnlyStringPool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReadOnlyStringPool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/typed.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(pool: &'a ReadOnlyStringPool) -> TypedNodeToStrVisitor<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReadOnlyStringPool` [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] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.02s [INFO] running `Command { std: "docker" "inspect" "ba1ac4a66c3b37f5644ec6b0028c04e9c9fa9b69a049db2582bc546da85700ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1ac4a66c3b37f5644ec6b0028c04e9c9fa9b69a049db2582bc546da85700ff", kill_on_drop: false }` [INFO] [stdout] ba1ac4a66c3b37f5644ec6b0028c04e9c9fa9b69a049db2582bc546da85700ff