[INFO] cloning repository https://github.com/golddranks/kadouchi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/golddranks/kadouchi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fkadouchi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fkadouchi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b230bae30f046fc427ef4cac3f919cb7c0bc1a9 [INFO] checking golddranks/kadouchi against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fkadouchi" "/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/golddranks/kadouchi [INFO] finished tweaking git repo https://github.com/golddranks/kadouchi [INFO] tweaked toml for git repo https://github.com/golddranks/kadouchi written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/golddranks/kadouchi on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/golddranks/kadouchi 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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/golddranks/scoped_stack` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e46b1438cad51eaa2ca4a5c43601b24f71b09371b0edd0896048ab60c15b4118 [INFO] running `Command { std: "docker" "start" "-a" "e46b1438cad51eaa2ca4a5c43601b24f71b09371b0edd0896048ab60c15b4118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e46b1438cad51eaa2ca4a5c43601b24f71b09371b0edd0896048ab60c15b4118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46b1438cad51eaa2ca4a5c43601b24f71b09371b0edd0896048ab60c15b4118", kill_on_drop: false }` [INFO] [stdout] e46b1438cad51eaa2ca4a5c43601b24f71b09371b0edd0896048ab60c15b4118 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee01cfe8fa91bc1e3dc86f437c32dab1bb61a3857691d9ab328168a2dd82fd3c [INFO] running `Command { std: "docker" "start" "-a" "ee01cfe8fa91bc1e3dc86f437c32dab1bb61a3857691d9ab328168a2dd82fd3c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking scoped_stack v0.1.0 (https://github.com/golddranks/scoped_stack#0cbf7808) [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking regex-syntax v0.6.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling libloading v0.5.0 [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 env_logger v0.5.10 [INFO] [stderr] Checking kadouchi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natives` [INFO] [stdout] --> src/typecheck.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | fn build_extern_caller_object(natives: &'str Library) -> Object<'str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_natives` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj_idx` [INFO] [stdout] --> src/typecheck.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let obj_idx = parent.add_arg(new_obj); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obj_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/typecheck.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokens.rs:479:27 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn parse_file(string: &str) -> Result, SyntaxError> { [INFO] [stdout] | ^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | pub fn parse_file(string: &str) -> Result>, SyntaxError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<&ObjectKind<'_>>` will be dropped [INFO] [stdout] --> src/typecheck.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 131 | let arg_inners = self.args.iter() [INFO] [stdout] | __________________________________- [INFO] [stdout] 132 | | .map(|a| &a.inner) [INFO] [stdout] 133 | | .collect::>() [INFO] [stdout] | |__________________________________________________- this `Vec<&ObjectKind<'_>>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 134 | .as_ptr(); [INFO] [stdout] | ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec<&ObjectKind<'_>>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec<&ObjectKind<'_>>` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<&ObjectKind<'_>>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natives` [INFO] [stdout] --> src/typecheck.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | fn build_extern_caller_object(natives: &'str Library) -> Object<'str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_natives` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj_idx` [INFO] [stdout] --> src/typecheck.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let obj_idx = parent.add_arg(new_obj); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obj_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/typecheck.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokens.rs:479:27 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn parse_file(string: &str) -> Result, SyntaxError> { [INFO] [stdout] | ^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | pub fn parse_file(string: &str) -> Result>, SyntaxError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<&ObjectKind<'_>>` will be dropped [INFO] [stdout] --> src/typecheck.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 131 | let arg_inners = self.args.iter() [INFO] [stdout] | __________________________________- [INFO] [stdout] 132 | | .map(|a| &a.inner) [INFO] [stdout] 133 | | .collect::>() [INFO] [stdout] | |__________________________________________________- this `Vec<&ObjectKind<'_>>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 134 | .as_ptr(); [INFO] [stdout] | ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec<&ObjectKind<'_>>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec<&ObjectKind<'_>>` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<&ObjectKind<'_>>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ee01cfe8fa91bc1e3dc86f437c32dab1bb61a3857691d9ab328168a2dd82fd3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee01cfe8fa91bc1e3dc86f437c32dab1bb61a3857691d9ab328168a2dd82fd3c", kill_on_drop: false }` [INFO] [stdout] ee01cfe8fa91bc1e3dc86f437c32dab1bb61a3857691d9ab328168a2dd82fd3c