[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/ffe40faa195e9c1a3fa97a7dfb058541ffc08259 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgliptic%2Frust-liero" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gliptic/rust-liero on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.1.0 [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded log v0.3.1 [INFO] [stderr] Downloaded libc v0.1.6 [INFO] [stderr] Downloaded num v0.1.22 [INFO] [stderr] Downloaded rustc-serialize v0.3.12 [INFO] [stderr] Downloaded rand v0.3.7 [INFO] [stderr] Downloaded sdl2 v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 414d3524c7128485013dfdd5f507b8b12332998db0885ad0f09a5210e81ea7bf [INFO] running `Command { std: "docker" "start" "-a" "414d3524c7128485013dfdd5f507b8b12332998db0885ad0f09a5210e81ea7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "414d3524c7128485013dfdd5f507b8b12332998db0885ad0f09a5210e81ea7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414d3524c7128485013dfdd5f507b8b12332998db0885ad0f09a5210e81ea7bf", kill_on_drop: false }` [INFO] [stdout] 414d3524c7128485013dfdd5f507b8b12332998db0885ad0f09a5210e81ea7bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c0b6d2d47d88cbeb8b2c9a1ad792b27b4f987acf55a4d0b7e29b8c26871fec5 [INFO] running `Command { std: "docker" "start" "-a" "8c0b6d2d47d88cbeb8b2c9a1ad792b27b4f987acf55a4d0b7e29b8c26871fec5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] Checking bitflags v0.1.1 [INFO] [stderr] Compiling liero v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking gentest v0.0.1 (/opt/rustwide/workdir/gentest) [INFO] [stderr] Checking lierosim v0.0.1 (/opt/rustwide/workdir/lierosim) [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: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [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[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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | -> Box { [INFO] [stdout] | +++ [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: aborting due to 4 previous errors; 2 warnings emitted [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: 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] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:39:58 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'common> Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn split_objects_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'common` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'common> Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn split_objects_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:39:92 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'common> Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn split_objects_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'common> Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn split_worm_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'common> Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn split_worm_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:46:89 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'common> Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn split_worm_iter_mut(&'common mut self) -> (&mut SimMinusObjects, ListIterator) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait SimObjects<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] 65 | fn objects_iter(&'common mut self) -> ListIterator; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> lierosim/src/sim.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 100 | impl<'common> SimObjects<'common> for Sim<'common> { [INFO] [stdout] | ------- lifetime `'common` declared here [INFO] [stdout] 101 | fn objects_iter(&'common mut self) -> ListIterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'common` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gentest` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] 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 an object-safe 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 an object-safe 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] error[E0432]: unresolved import `std::ffi::AsOsStr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] warning: 4 warnings emitted [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-6f17d22bba15001f/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] error[E0277]: the trait bound `::Item: BroadphaseNode` is not satisfied [INFO] [stdout] --> lierosim/src/list.rs:341:41 [INFO] [stdout] | [INFO] [stdout] 341 | fn next<'a>(&'a mut self) -> Option::Item, ::Broadphase>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `BroadphaseNode` is not implemented for `::Item` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ListItemRef` [INFO] [stdout] --> lierosim/src/list.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct ListItemRef<'a, T: 'a + BroadphaseNode, B: Broadphase> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `ListItemRef` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 341 | fn next<'a>(&'a mut self) -> Option::Item, ::Broadphase>> where ::Item: BroadphaseNode; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Broadphase: Broadphase` is not satisfied [INFO] [stdout] --> lierosim/src/list.rs:341:41 [INFO] [stdout] | [INFO] [stdout] 341 | fn next<'a>(&'a mut self) -> Option::Item, ::Broadphase>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Broadphase` is not implemented for `::Broadphase` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ListItemRef` [INFO] [stdout] --> lierosim/src/list.rs:250:55 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct ListItemRef<'a, T: 'a + BroadphaseNode, B: Broadphase> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ListItemRef` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 341 | fn next<'a>(&'a mut self) -> Option::Item, ::Broadphase>> where ::Broadphase: Broadphase; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lierosim/src/nobject.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | state: &mut SimMinusObjects) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | state: &mut dyn SimMinusObjects) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lierosim/src/nobject.rs:53:74 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn update(mut obj: ListItemRef, state: &mut SimMinusObjects) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn update(mut obj: ListItemRef, state: &mut dyn SimMinusObjects) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lierosim/src/weapon.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | state: &mut SimMinusWorms, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | state: &mut dyn SimMinusWorms, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lierosim/src/weapon.rs:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | fn fire(&self, worm: &mut Worm, state: &mut SimMinusWorms, common: &Common) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | fn fire(&self, worm: &mut Worm, state: &mut dyn SimMinusWorms, common: &Common) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lierosim` (lib) due to 7 previous errors; 16 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-6f17d22bba15001f/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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527: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-6f17d22bba15001f/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-6f17d22bba15001f/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] error: aborting due to 6 previous errors [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 7 previous errors [INFO] running `Command { std: "docker" "inspect" "8c0b6d2d47d88cbeb8b2c9a1ad792b27b4f987acf55a4d0b7e29b8c26871fec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0b6d2d47d88cbeb8b2c9a1ad792b27b4f987acf55a4d0b7e29b8c26871fec5", kill_on_drop: false }` [INFO] [stdout] 8c0b6d2d47d88cbeb8b2c9a1ad792b27b4f987acf55a4d0b7e29b8c26871fec5