[INFO] cloning repository https://github.com/bartbie/defun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bartbie/defun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartbie%2Fdefun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartbie%2Fdefun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e3034d3942bb25365bd99c33022d92a35334069 [INFO] checking bartbie/defun against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartbie%2Fdefun" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bartbie/defun [INFO] finished tweaking git repo https://github.com/bartbie/defun [INFO] tweaked toml for git repo https://github.com/bartbie/defun written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bartbie/defun on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bartbie/defun 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-code v3.0.0 [INFO] [stderr] Downloaded clipboard-win v5.0.0 [INFO] [stderr] Downloaded darling v0.11.0 [INFO] [stderr] Downloaded pprof v0.13.0 [INFO] [stderr] Downloaded variantly v0.3.0 [INFO] [stderr] Downloaded darling_macro v0.11.0 [INFO] [stderr] Downloaded darling_core v0.11.0 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded clap v4.4.12 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded quick-xml v0.26.0 [INFO] [stderr] Downloaded rustyline v13.0.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded symbolic-demangle v12.8.0 [INFO] [stderr] Downloaded inferno v0.11.19 [INFO] [stderr] Downloaded memmap2 v0.9.3 [INFO] [stderr] Downloaded symbolic-common v12.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4253d9829facb404baf2abb4d0a81e7364b38eecb68563aecf483f23677a293f [INFO] running `Command { std: "docker" "start" "-a" "4253d9829facb404baf2abb4d0a81e7364b38eecb68563aecf483f23677a293f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4253d9829facb404baf2abb4d0a81e7364b38eecb68563aecf483f23677a293f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4253d9829facb404baf2abb4d0a81e7364b38eecb68563aecf483f23677a293f", kill_on_drop: false }` [INFO] [stdout] 4253d9829facb404baf2abb4d0a81e7364b38eecb68563aecf483f23677a293f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b9eb79b5ec787eaaedb5c51753f3f7488e0564eebbcb3359ae475f3ec44fa58 [INFO] running `Command { std: "docker" "start" "-a" "5b9eb79b5ec787eaaedb5c51753f3f7488e0564eebbcb3359ae475f3ec44fa58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking memmap2 v0.9.3 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling symbolic-demangle v12.8.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking symbolic-common v12.8.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rustyline v13.0.0 [INFO] [stderr] Checking inferno v0.11.19 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling darling_core v0.11.0 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking clap v4.4.12 [INFO] [stderr] Compiling darling_macro v0.11.0 [INFO] [stderr] Compiling darling v0.11.0 [INFO] [stderr] Compiling variantly v0.3.0 [INFO] [stderr] Checking defun v0.1.0 (/opt/rustwide/workdir/defun) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> defun/src/expr.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 39 | pub struct Proc(pub ProcFn); [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> defun/src/parser.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn parse_tokens(tokens: &[Token]) -> PResult { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn parse_tokens(tokens: &[Token]) -> PResult<'_, Expression> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> defun/src/parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse(tokens: &[Token]) -> PResult, Error> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse(tokens: &[Token]) -> PResult<'_, Option, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> defun/src/parser.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_s_list(mut tokens: &[Token]) -> PResult> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_s_list(mut tokens: &[Token]) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking defun-cli v0.1.0 (/opt/rustwide/workdir/defun-cli) [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> defun/benches/number_benchmark.rs:183:44 [INFO] [stdout] | [INFO] [stdout] 183 | c.bench_function("ints", |b| b.iter(|| (i32_calc(&ints)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - c.bench_function("ints", |b| b.iter(|| (i32_calc(&ints)))); [INFO] [stdout] 183 + c.bench_function("ints", |b| b.iter(|| i32_calc(&ints) )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> defun/benches/number_benchmark.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | c.bench_function("enum_floats", |b| b.iter(|| (number_calc(&number_floats)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - c.bench_function("enum_floats", |b| b.iter(|| (number_calc(&number_floats)))); [INFO] [stdout] 184 + c.bench_function("enum_floats", |b| b.iter(|| number_calc(&number_floats) )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> defun/benches/number_benchmark.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | c.bench_function("enum_ints", |b| b.iter(|| (number_calc(&number_ints)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - c.bench_function("enum_ints", |b| b.iter(|| (number_calc(&number_ints)))); [INFO] [stdout] 185 + c.bench_function("enum_ints", |b| b.iter(|| number_calc(&number_ints) )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> defun/benches/number_benchmark.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | c.bench_function("enum_mixed", |b| b.iter(|| (number_calc(&number_mixed)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - c.bench_function("enum_mixed", |b| b.iter(|| (number_calc(&number_mixed)))); [INFO] [stdout] 186 + c.bench_function("enum_mixed", |b| b.iter(|| number_calc(&number_mixed) )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> defun/src/eval.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | builtins::math::add as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 305 | builtins::math::add as *const () as usize [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] --> defun/src/expr.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 39 | pub struct Proc(pub ProcFn); [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> defun/src/parser.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn parse_tokens(tokens: &[Token]) -> PResult { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn parse_tokens(tokens: &[Token]) -> PResult<'_, Expression> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> defun/src/parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse(tokens: &[Token]) -> PResult, Error> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse(tokens: &[Token]) -> PResult<'_, Option, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> defun/src/parser.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_s_list(mut tokens: &[Token]) -> PResult> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_s_list(mut tokens: &[Token]) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.15s [INFO] running `Command { std: "docker" "inspect" "5b9eb79b5ec787eaaedb5c51753f3f7488e0564eebbcb3359ae475f3ec44fa58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b9eb79b5ec787eaaedb5c51753f3f7488e0564eebbcb3359ae475f3ec44fa58", kill_on_drop: false }` [INFO] [stdout] 5b9eb79b5ec787eaaedb5c51753f3f7488e0564eebbcb3359ae475f3ec44fa58