[INFO] cloning repository https://github.com/michaelmelanson/risp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelmelanson/risp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelmelanson%2Frisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelmelanson%2Frisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f878eda1428b97ff159fdbc92532470cd421b3c [INFO] building michaelmelanson/risp against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelmelanson%2Frisp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelmelanson/risp on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaelmelanson/risp [INFO] finished tweaking git repo https://github.com/michaelmelanson/risp [INFO] tweaked toml for git repo https://github.com/michaelmelanson/risp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/michaelmelanson/risp 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71fceacfe70f32f64fc93475928aa136e12b572e3c2acd31744accf9941f4c25 [INFO] running `Command { std: "docker" "start" "-a" "71fceacfe70f32f64fc93475928aa136e12b572e3c2acd31744accf9941f4c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71fceacfe70f32f64fc93475928aa136e12b572e3c2acd31744accf9941f4c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71fceacfe70f32f64fc93475928aa136e12b572e3c2acd31744accf9941f4c25", kill_on_drop: false }` [INFO] [stdout] 71fceacfe70f32f64fc93475928aa136e12b572e3c2acd31744accf9941f4c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ea145a54e86384f4e692161c2a2e0c1511968fdcbd274df81dfb0bdf3f38d93 [INFO] running `Command { std: "docker" "start" "-a" "7ea145a54e86384f4e692161c2a2e0c1511968fdcbd274df81dfb0bdf3f38d93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling iced-x86 v1.21.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling fd-lock v3.0.8 [INFO] [stderr] Compiling rustyline v10.1.1 [INFO] [stderr] Compiling risp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_function_definition` [INFO] [stdout] --> src/parser/statement.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | function_definition::{parse_function_definition, FunctionDefinition}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/tokens.rs:4:64 [INFO] [stdout] | [INFO] [stdout] 4 | fn token<'a>(c: &'a str) -> impl FnMut(Span<'a>) -> ParseResult { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComparisonOperator` [INFO] [stdout] --> src/parser.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | parse_expression, ArithmeticOperator, BinaryOperator, ComparisonOperator, Expression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/codegen/x86_64/function.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 17 | std::ptr::fn_addr_eq(self.ptr, other.ptr) [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.62s [INFO] running `Command { std: "docker" "inspect" "7ea145a54e86384f4e692161c2a2e0c1511968fdcbd274df81dfb0bdf3f38d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea145a54e86384f4e692161c2a2e0c1511968fdcbd274df81dfb0bdf3f38d93", kill_on_drop: false }` [INFO] [stdout] 7ea145a54e86384f4e692161c2a2e0c1511968fdcbd274df81dfb0bdf3f38d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6f3f064cf1913af847af82e0fa1b36cbba0e787add062f09b9e94fcdc1ea773 [INFO] running `Command { std: "docker" "start" "-a" "e6f3f064cf1913af847af82e0fa1b36cbba0e787add062f09b9e94fcdc1ea773", kill_on_drop: false }` [INFO] [stderr] Compiling risp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_function_definition` [INFO] [stdout] --> src/parser/statement.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | function_definition::{parse_function_definition, FunctionDefinition}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/tokens.rs:4:64 [INFO] [stdout] | [INFO] [stdout] 4 | fn token<'a>(c: &'a str) -> impl FnMut(Span<'a>) -> ParseResult { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComparisonOperator` [INFO] [stdout] --> src/parser.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | parse_expression, ArithmeticOperator, BinaryOperator, ComparisonOperator, Expression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/codegen/x86_64/function.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 17 | std::ptr::fn_addr_eq(self.ptr, other.ptr) [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "e6f3f064cf1913af847af82e0fa1b36cbba0e787add062f09b9e94fcdc1ea773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f3f064cf1913af847af82e0fa1b36cbba0e787add062f09b9e94fcdc1ea773", kill_on_drop: false }` [INFO] [stdout] e6f3f064cf1913af847af82e0fa1b36cbba0e787add062f09b9e94fcdc1ea773