[INFO] cloning repository https://github.com/gliptic/rust-liero [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gliptic/rust-liero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgliptic%2Frust-liero", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgliptic%2Frust-liero'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffe40faa195e9c1a3fa97a7dfb058541ffc08259 [INFO] checking gliptic/rust-liero against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgliptic%2Frust-liero" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gliptic/rust-liero [INFO] finished tweaking git repo https://github.com/gliptic/rust-liero [INFO] tweaked toml for git repo https://github.com/gliptic/rust-liero written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gliptic/rust-liero on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gliptic/rust-liero 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.3.1 [INFO] [stderr] Downloaded rustc-serialize v0.3.12 [INFO] [stderr] Downloaded libc v0.1.6 [INFO] [stderr] Downloaded num v0.1.22 [INFO] [stderr] Downloaded rand v0.3.7 [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded sdl2 v0.1.0 [INFO] [stderr] Downloaded sdl2-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7e442b23360353436ecd6c53db949a07659716820270829e30217ba9e809edd [INFO] running `Command { std: "docker" "start" "-a" "e7e442b23360353436ecd6c53db949a07659716820270829e30217ba9e809edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7e442b23360353436ecd6c53db949a07659716820270829e30217ba9e809edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e442b23360353436ecd6c53db949a07659716820270829e30217ba9e809edd", kill_on_drop: false }` [INFO] [stdout] e7e442b23360353436ecd6c53db949a07659716820270829e30217ba9e809edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a31441f7b5191e63ad056be46fe7af22afa4e00202a1c1f81872ec040a064c21 [INFO] running `Command { std: "docker" "start" "-a" "a31441f7b5191e63ad056be46fe7af22afa4e00202a1c1f81872ec040a064c21", 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.1.6 [INFO] [stderr] Checking rustc-serialize v0.3.12 [INFO] [stderr] Compiling sdl2-sys v0.1.0 [INFO] [stderr] Compiling liero v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking gentest v0.0.1 (/opt/rustwide/workdir/gentest) [INFO] [stderr] Checking lierosim v0.0.1 (/opt/rustwide/workdir/lierosim) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> gentest/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> gentest/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> gentest/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Zero` [INFO] [stdout] --> lierosim/src/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Zero` in `num` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants instead [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::FpCategory::Zero; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 3 | use std::num::IntErrorKind::Zero; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Zero` [INFO] [stdout] --> lierosim/src/fixed.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Wrapping, Zero}; [INFO] [stdout] | ^^^^ no `Zero` in `num` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::num::FpCategory::Zero [INFO] [stdout] std::num::IntErrorKind::Zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Zero` [INFO] [stdout] --> lierosim/src/nobject.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Zero` in `num` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants instead [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::FpCategory::Zero; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 5 | use std::num::IntErrorKind::Zero; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> gentest/src/lib.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> gentest/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gentest/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat` [INFO] [stdout] --> lierosim/src/nobject.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use level::{Level, Mat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0462, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0462`. [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> lierosim/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `zero_one` [INFO] [stdout] --> lierosim/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(zero_one)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gentest` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/serialize.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ffi::AsOsStr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/serialize.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ffi::{AsOsStr, OsString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsOsStr` in `ffi` [INFO] [stdout] | help: a similar name exists in the module: `OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/json.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | use std::num::{Float, Int}; [INFO] [stdout] | ^^^^^ ^^^ no `Int` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lierosim/src/sim.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn split_objects_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn split_objects_iter_mut(&'common mut self) -> (&mut dyn SimMinusObjects, ListIterator) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lierosim/src/sim.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn split_worm_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn split_worm_iter_mut(&'common mut self) -> (&mut dyn SimMinusObjects, ListIterator) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lierosim` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/serialize.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 200 | fn decode(d: &mut D) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/result.rs:549:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 200 | fn decode(d: &mut D) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `checked_mul` on ambiguous numeric type `{integer}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/json.rs:1519:59 [INFO] [stdout] | [INFO] [stdout] 1519 | ... accum = try_or_invalid!(accum.checked_mul(10)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 1495 | let mut accum: i32 = 0; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `checked_add` on ambiguous numeric type `{integer}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/json.rs:1520:59 [INFO] [stdout] | [INFO] [stdout] 1520 | ... accum = try_or_invalid!(accum.checked_add((c as u64) - ('0' as u64))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 1495 | let mut accum: i32 = 0; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0642, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a31441f7b5191e63ad056be46fe7af22afa4e00202a1c1f81872ec040a064c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31441f7b5191e63ad056be46fe7af22afa4e00202a1c1f81872ec040a064c21", kill_on_drop: false }` [INFO] [stdout] a31441f7b5191e63ad056be46fe7af22afa4e00202a1c1f81872ec040a064c21