[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael0x2a%2Fimpo" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michael0x2a/impo on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded snowflake v1.3.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.21 [INFO] [stderr] Downloaded backtrace v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 88209a1e32de49d894db7318258524757a0abbd029bbb5a27443b847aec8829f [INFO] running `Command { std: "docker" "start" "-a" "88209a1e32de49d894db7318258524757a0abbd029bbb5a27443b847aec8829f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88209a1e32de49d894db7318258524757a0abbd029bbb5a27443b847aec8829f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88209a1e32de49d894db7318258524757a0abbd029bbb5a27443b847aec8829f", kill_on_drop: false }` [INFO] [stdout] 88209a1e32de49d894db7318258524757a0abbd029bbb5a27443b847aec8829f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d09fda4e3255d7a72848f6947d1d68fc82cc47427339b09294354cef511c382 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2d09fda4e3255d7a72848f6947d1d68fc82cc47427339b09294354cef511c382", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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 12.54s [INFO] running `Command { std: "docker" "inspect" "2d09fda4e3255d7a72848f6947d1d68fc82cc47427339b09294354cef511c382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d09fda4e3255d7a72848f6947d1d68fc82cc47427339b09294354cef511c382", kill_on_drop: false }` [INFO] [stdout] 2d09fda4e3255d7a72848f6947d1d68fc82cc47427339b09294354cef511c382