[INFO] cloning repository https://github.com/luojia65/csky-rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/csky-rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95dc19d725f1708b4eb2a0c1977f9a561dffca13 [INFO] checking luojia65/csky-rust-test against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/csky-rust-test on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luojia65/csky-rust-test [INFO] finished tweaking git repo https://github.com/luojia65/csky-rust-test [INFO] tweaked toml for git repo https://github.com/luojia65/csky-rust-test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/csky-rust-test 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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe731def1158bba39c1550232266057957921147067f79a8f8e65e11caf468f7 [INFO] running `Command { std: "docker" "start" "-a" "fe731def1158bba39c1550232266057957921147067f79a8f8e65e11caf468f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe731def1158bba39c1550232266057957921147067f79a8f8e65e11caf468f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe731def1158bba39c1550232266057957921147067f79a8f8e65e11caf468f7", kill_on_drop: false }` [INFO] [stdout] fe731def1158bba39c1550232266057957921147067f79a8f8e65e11caf468f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66c065bc712b0438ce7fc26425309bbffd2659a910d05dbb007e42c0b94736d1 [INFO] running `Command { std: "docker" "start" "-a" "66c065bc712b0438ce7fc26425309bbffd2659a910d05dbb007e42c0b94736d1", kill_on_drop: false }` [INFO] [stderr] Compiling csky-rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `structural_teq` [INFO] [stdout] --> src/main.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | #[lang = "structural_teq"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `structural_teq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `box_free` [INFO] [stdout] --> src/main.rs:519:1 [INFO] [stdout] | [INFO] [stdout] 519 | #[lang = "box_free"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `box_free` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `type_ascription` [INFO] [stdout] --> src/main.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sized` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Sized {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/0fe3684930279e4d3be3aca66b30f82946ce9ac2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-74a8d2c13eeedc93.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe impl Copy for bool {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 55 - unsafe impl Copy for bool {} [INFO] [stdout] 55 + impl Copy for bool {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe impl Copy for u8 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 56 - unsafe impl Copy for u8 {} [INFO] [stdout] 56 + impl Copy for u8 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe impl Copy for u16 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 57 - unsafe impl Copy for u16 {} [INFO] [stdout] 57 + impl Copy for u16 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe impl Copy for u32 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 58 - unsafe impl Copy for u32 {} [INFO] [stdout] 58 + impl Copy for u32 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe impl Copy for u64 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 59 - unsafe impl Copy for u64 {} [INFO] [stdout] 59 + impl Copy for u64 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe impl Copy for u128 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 60 - unsafe impl Copy for u128 {} [INFO] [stdout] 60 + impl Copy for u128 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `csky-rust-test` (bin "csky-rust-test" test) due to 2 previous errors; 4 warnings emitted [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe impl Copy for usize {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 61 - unsafe impl Copy for usize {} [INFO] [stdout] 61 + impl Copy for usize {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe impl Copy for i8 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 62 - unsafe impl Copy for i8 {} [INFO] [stdout] 62 + impl Copy for i8 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe impl Copy for i16 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 63 - unsafe impl Copy for i16 {} [INFO] [stdout] 63 + impl Copy for i16 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe impl Copy for i32 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 64 - unsafe impl Copy for i32 {} [INFO] [stdout] 64 + impl Copy for i32 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe impl Copy for isize {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 65 - unsafe impl Copy for isize {} [INFO] [stdout] 65 + impl Copy for isize {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe impl Copy for f32 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 66 - unsafe impl Copy for f32 {} [INFO] [stdout] 66 + impl Copy for f32 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe impl Copy for char {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 67 - unsafe impl Copy for char {} [INFO] [stdout] 67 + impl Copy for char {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 68 - unsafe impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] 68 + impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe impl Copy for *const T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 69 - unsafe impl Copy for *const T {} [INFO] [stdout] 69 + impl Copy for *const T {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe impl Copy for *mut T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 70 - unsafe impl Copy for *mut T {} [INFO] [stdout] 70 + impl Copy for *mut T {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe impl Copy for Option {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 71 - unsafe impl Copy for Option {} [INFO] [stdout] 71 + impl Copy for Option {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: explicit impls for the `Freeze` trait are not permitted [INFO] [stdout] --> src/main.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | unsafe impl Freeze for PhantomData {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Freeze` not allowed [INFO] [stdout] | [INFO] [stdout] = note: see issue #121675 for more information [INFO] [stdout] = help: add `#![feature(freeze_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-11; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: explicit impls for the `Freeze` trait are not permitted [INFO] [stdout] --> src/main.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | unsafe impl Freeze for *const T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Freeze` not allowed [INFO] [stdout] | [INFO] [stdout] = note: see issue #121675 for more information [INFO] [stdout] = help: add `#![feature(freeze_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-11; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: explicit impls for the `Freeze` trait are not permitted [INFO] [stdout] --> src/main.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe impl Freeze for *mut T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Freeze` not allowed [INFO] [stdout] | [INFO] [stdout] = note: see issue #121675 for more information [INFO] [stdout] = help: add `#![feature(freeze_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-11; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: explicit impls for the `Freeze` trait are not permitted [INFO] [stdout] --> src/main.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | unsafe impl Freeze for &T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Freeze` not allowed [INFO] [stdout] | [INFO] [stdout] = note: see issue #121675 for more information [INFO] [stdout] = help: add `#![feature(freeze_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-11; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: explicit impls for the `Freeze` trait are not permitted [INFO] [stdout] --> src/main.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | unsafe impl Freeze for &mut T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Freeze` not allowed [INFO] [stdout] | [INFO] [stdout] = note: see issue #121675 for more information [INFO] [stdout] = help: add `#![feature(freeze_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-11; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `size_of` [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn size_of() -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `min_align_of` [INFO] [stdout] --> src/main.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn min_align_of() -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `needs_drop` [INFO] [stdout] --> src/main.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn needs_drop() -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `bitreverse` [INFO] [stdout] --> src/main.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn bitreverse(x: T) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `bswap` [INFO] [stdout] --> src/main.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn bswap(x: T) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union [INFO] [stdout] --> src/main.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | pub value: ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>` [INFO] [stdout] help: wrap the field type in `ManuallyDrop<...>` [INFO] [stdout] | [INFO] [stdout] 539 | pub value: std::mem::ManuallyDrop>, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 260 | fn eq(&self, other: &u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | fn ne(&self, other: &u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | fn eq(&self, other: &u16) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:272:11 [INFO] [stdout] | [INFO] [stdout] 272 | fn ne(&self, other: &u16) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | fn eq(&self, other: &u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | fn ne(&self, other: &u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | fn eq(&self, other: &u64) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | fn ne(&self, other: &u64) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | fn eq(&self, other: &u128) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | fn ne(&self, other: &u128) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:306:11 [INFO] [stdout] | [INFO] [stdout] 306 | fn eq(&self, other: &usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | fn ne(&self, other: &usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | fn eq(&self, other: &i8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | fn ne(&self, other: &i8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 324 | fn eq(&self, other: &i32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 327 | fn ne(&self, other: &i32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | fn eq(&self, other: &isize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | fn ne(&self, other: &isize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:342:11 [INFO] [stdout] | [INFO] [stdout] 342 | fn eq(&self, other: &char) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | fn ne(&self, other: &char) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | fn eq(&self, other: &*const T) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 354 | fn ne(&self, other: &*const T) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:360:11 [INFO] [stdout] | [INFO] [stdout] 360 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | fn ne(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | fn drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | fn deref(&self) -> &Self::Target { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:583:14 [INFO] [stdout] | [INFO] [stdout] 583 | fn index(&self, index: usize) -> &Self::Output { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | fn index(&self, index: usize) -> &Self::Output { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `abort` [INFO] [stdout] --> src/main.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | pub fn abort() -> !; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: intrinsic has wrong type [INFO] [stdout] --> src/main.rs:552:41 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn ctlz_nonzero(x: T) -> T; [INFO] [stdout] | - ^ expected `u32`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | found this type parameter [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe extern "rust-intrinsic" fn(_) -> u32` [INFO] [stdout] found signature `unsafe extern "rust-intrinsic" fn(_) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0199, E0308, E0522, E0557, E0635, E0658, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0199`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csky-rust-test` (bin "csky-rust-test") due to 62 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66c065bc712b0438ce7fc26425309bbffd2659a910d05dbb007e42c0b94736d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c065bc712b0438ce7fc26425309bbffd2659a910d05dbb007e42c0b94736d1", kill_on_drop: false }` [INFO] [stdout] 66c065bc712b0438ce7fc26425309bbffd2659a910d05dbb007e42c0b94736d1