[INFO] cloning repository https://github.com/ghostlyzsh/RuSk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghostlyzsh/RuSk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghostlyzsh%2FRuSk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghostlyzsh%2FRuSk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30cc640d4a38ad20738d818f52a0fe2161db3478 [INFO] checking ghostlyzsh/RuSk against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghostlyzsh%2FRuSk" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ghostlyzsh/RuSk on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ghostlyzsh/RuSk [INFO] finished tweaking git repo https://github.com/ghostlyzsh/RuSk [INFO] tweaked toml for git repo https://github.com/ghostlyzsh/RuSk written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ghostlyzsh/RuSk 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.2 [INFO] [stderr] Downloaded llvm-sys v160.1.3 [INFO] [stderr] Downloaded clap_builder v4.4.2 [INFO] [stderr] Downloaded syn v2.0.32 [INFO] [stderr] Downloaded semver v1.0.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ab55973a281273659c9d9477d09adc90fd824b0b29440cce499e4506534abde [INFO] running `Command { std: "docker" "start" "-a" "7ab55973a281273659c9d9477d09adc90fd824b0b29440cce499e4506534abde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ab55973a281273659c9d9477d09adc90fd824b0b29440cce499e4506534abde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab55973a281273659c9d9477d09adc90fd824b0b29440cce499e4506534abde", kill_on_drop: false }` [INFO] [stdout] 7ab55973a281273659c9d9477d09adc90fd824b0b29440cce499e4506534abde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94697431fa54fa751878d17cfed89ebd8bd33532052e208d443d5f08f631338e [INFO] running `Command { std: "docker" "start" "-a" "94697431fa54fa751878d17cfed89ebd8bd33532052e208d443d5f08f631338e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling llvm-sys v160.1.3 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking RuSk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/parser/ptr.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | self.ptr.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 174 - self.ptr.into_iter() [INFO] [stdout] 174 + self.ptr.iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 174 - self.ptr.into_iter() [INFO] [stdout] 174 + IntoIterator::into_iter(self.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/codegen/mod.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let mut error = "\0".to_string().as_mut_ptr().cast(); [INFO] [stdout] | ---------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` 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: unnecessary transmute [INFO] [stdout] --> src/codegen/mod.rs:1451:87 [INFO] [stdout] | [INFO] [stdout] 1451 | Ok((Type::Integer, LLVMConstInt(LLVMInt64TypeInContext(self.context), std::mem::transmute(num), 1))) [INFO] [stdout] | -------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/parser/ptr.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | self.ptr.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 174 - self.ptr.into_iter() [INFO] [stdout] 174 + self.ptr.iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 174 - self.ptr.into_iter() [INFO] [stdout] 174 + IntoIterator::into_iter(self.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/codegen/mod.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let mut error = "\0".to_string().as_mut_ptr().cast(); [INFO] [stdout] | ---------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` 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: unnecessary transmute [INFO] [stdout] --> src/codegen/mod.rs:1451:87 [INFO] [stdout] | [INFO] [stdout] 1451 | Ok((Type::Integer, LLVMConstInt(LLVMInt64TypeInContext(self.context), std::mem::transmute(num), 1))) [INFO] [stdout] | -------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.27s [INFO] running `Command { std: "docker" "inspect" "94697431fa54fa751878d17cfed89ebd8bd33532052e208d443d5f08f631338e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94697431fa54fa751878d17cfed89ebd8bd33532052e208d443d5f08f631338e", kill_on_drop: false }` [INFO] [stdout] 94697431fa54fa751878d17cfed89ebd8bd33532052e208d443d5f08f631338e