[INFO] cloning repository https://github.com/Robbepop/non-pdsl-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Robbepop/non-pdsl-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobbepop%2Fnon-pdsl-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobbepop%2Fnon-pdsl-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91dded334b5b0dd4064be6d402e7b5694c7cffe1 [INFO] testing Robbepop/non-pdsl-example against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobbepop%2Fnon-pdsl-example" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Robbepop/non-pdsl-example [INFO] finished tweaking git repo https://github.com/Robbepop/non-pdsl-example [INFO] tweaked toml for git repo https://github.com/Robbepop/non-pdsl-example written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Robbepop/non-pdsl-example on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Robbepop/non-pdsl-example 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-crate v0.1.3 [INFO] [stderr] Downloaded parity-codec v3.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46d51c3e989e7c6dd0c549687065083aabc545ec0f7ee57c363203d077758edd [INFO] running `Command { std: "docker" "start" "-a" "46d51c3e989e7c6dd0c549687065083aabc545ec0f7ee57c363203d077758edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46d51c3e989e7c6dd0c549687065083aabc545ec0f7ee57c363203d077758edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d51c3e989e7c6dd0c549687065083aabc545ec0f7ee57c363203d077758edd", kill_on_drop: false }` [INFO] [stdout] 46d51c3e989e7c6dd0c549687065083aabc545ec0f7ee57c363203d077758edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 730d10a073f3d215dbd56bd3f300ee7e56fdeeba6f6401391f2f603d4e9fb5e6 [INFO] running `Command { std: "docker" "start" "-a" "730d10a073f3d215dbd56bd3f300ee7e56fdeeba6f6401391f2f603d4e9fb5e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling wee_alloc v0.4.3 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling proc-macro-crate v0.1.3 [INFO] [stderr] Compiling parity-codec-derive v3.3.0 [INFO] [stderr] Compiling parity-codec v3.4.0 [INFO] [stderr] Compiling contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(alloc, core_intrinsics, lang_items, alloc_error_handler)] [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 `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(alloc, core_intrinsics, lang_items, alloc_error_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [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] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(alloc, core_intrinsics, lang_items, alloc_error_handler)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] | ------------------------------------ should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_begin_unwind` to [INFO] [stdout] = note: match `.*rust_begin_unwind.*` instead of `break rust_begin_unwind` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { core::intrinsics::abort() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contract` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "730d10a073f3d215dbd56bd3f300ee7e56fdeeba6f6401391f2f603d4e9fb5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730d10a073f3d215dbd56bd3f300ee7e56fdeeba6f6401391f2f603d4e9fb5e6", kill_on_drop: false }` [INFO] [stdout] 730d10a073f3d215dbd56bd3f300ee7e56fdeeba6f6401391f2f603d4e9fb5e6