[INFO] cloning repository https://github.com/snjax/nep4_nostd_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snjax/nep4_nostd_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnep4_nostd_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnep4_nostd_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e452a8bc114e43ed49680d89738fcade4a17303 [INFO] checking snjax/nep4_nostd_example against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnep4_nostd_example" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snjax/nep4_nostd_example on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snjax/nep4_nostd_example [INFO] finished tweaking git repo https://github.com/snjax/nep4_nostd_example [INFO] tweaked toml for git repo https://github.com/snjax/nep4_nostd_example written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/snjax/nep4_nostd_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aded8de99541565ddfd0add3216fc9ac5d632bcd0f10fd711f567bb33a956de [INFO] running `Command { std: "docker" "start" "-a" "8aded8de99541565ddfd0add3216fc9ac5d632bcd0f10fd711f567bb33a956de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aded8de99541565ddfd0add3216fc9ac5d632bcd0f10fd711f567bb33a956de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aded8de99541565ddfd0add3216fc9ac5d632bcd0f10fd711f567bb33a956de", kill_on_drop: false }` [INFO] [stdout] 8aded8de99541565ddfd0add3216fc9ac5d632bcd0f10fd711f567bb33a956de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c32aaaeb5fa9ccde4ed1eb30f19202142e43ce79246f31fd8a6290004ca9efa7 [INFO] running `Command { std: "docker" "start" "-a" "c32aaaeb5fa9ccde4ed1eb30f19202142e43ce79246f31fd8a6290004ca9efa7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling borsh-derive-internal v0.8.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.1 [INFO] [stderr] Compiling near-sdk-pure-core v2.0.0 (https://github.com/snjax/near-sdk-pure-rs?branch=main#5ba528d3) [INFO] [stderr] Compiling near-sdk-pure-macros v2.0.0 (https://github.com/snjax/near-sdk-pure-rs?branch=main#5ba528d3) [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.1 [INFO] [stderr] Checking borsh v0.8.1 [INFO] [stderr] Checking near-sdk-pure v2.0.0 (https://github.com/snjax/near-sdk-pure-rs?branch=main#5ba528d3) [INFO] [stderr] Checking nep4-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn panic(info: &::core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in the local crate (`nep4_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn panic(info: &::core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `serde` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in the local crate (`nep4_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn oom(_: ::core::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in the local crate (`nep4_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn oom(_: ::core::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `serde` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in the local crate (`nep4_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nep4-rs` due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c32aaaeb5fa9ccde4ed1eb30f19202142e43ce79246f31fd8a6290004ca9efa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32aaaeb5fa9ccde4ed1eb30f19202142e43ce79246f31fd8a6290004ca9efa7", kill_on_drop: false }` [INFO] [stdout] c32aaaeb5fa9ccde4ed1eb30f19202142e43ce79246f31fd8a6290004ca9efa7