[INFO] cloning repository https://github.com/siddharthteli/token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/siddharthteli/token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthteli%2Ftoken", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthteli%2Ftoken'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d267d256a8a369eafb47f8e78e9aeccc8e63de5 [INFO] checking siddharthteli/token against try#0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 for pr-98456-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthteli%2Ftoken" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/siddharthteli/token on toolchain 0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/siddharthteli/token [INFO] finished tweaking git repo https://github.com/siddharthteli/token [INFO] tweaked toml for git repo https://github.com/siddharthteli/token written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/siddharthteli/token already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6e1392cc12a5b8c6b9b553f328f8f475811707b5183cc3ab26df86bd633b55a [INFO] running `Command { std: "docker" "start" "-a" "c6e1392cc12a5b8c6b9b553f328f8f475811707b5183cc3ab26df86bd633b55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e1392cc12a5b8c6b9b553f328f8f475811707b5183cc3ab26df86bd633b55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e1392cc12a5b8c6b9b553f328f8f475811707b5183cc3ab26df86bd633b55a", kill_on_drop: false }` [INFO] [stdout] c6e1392cc12a5b8c6b9b553f328f8f475811707b5183cc3ab26df86bd633b55a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce7f1165aae342e6ce20971ef6bf91ad579fc27c75faa323f61706b0dd6168ef [INFO] running `Command { std: "docker" "start" "-a" "ce7f1165aae342e6ce20971ef6bf91ad579fc27c75faa323f61706b0dd6168ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking signature v1.5.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking validator_types v0.12.0 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking ed25519 v1.4.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking c2-chacha v0.3.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.8 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling near-rpc-error-core v0.10.0 [INFO] [stderr] Checking validator v0.12.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling near-rpc-error-macro v0.10.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking near-account-id v0.10.0 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking near-primitives-core v0.10.0 [INFO] [stderr] Checking near-vm-errors v0.10.0 [INFO] [stderr] Checking near-crypto v0.10.0 [INFO] [stderr] Checking near-primitives v0.10.0 [INFO] [stderr] Checking near-vm-logic v0.10.0 [INFO] [stderr] Checking near-sdk v4.0.0-pre.8 [INFO] [stderr] Checking fungible-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | env::panic(b"Can't set allowance for yourself"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | env::panic(b"Can't set allowance for yourself"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | env::panic(b"Can't transfer 0 tokens"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | env::panic(b"Not enough balance"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | env::panic(b"Not enough allowance"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | env::panic(b"Can't transfer 0 tokens"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | env::panic(b"Not enough balance"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message. [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | env::panic(b"Not enough allowance"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce7f1165aae342e6ce20971ef6bf91ad579fc27c75faa323f61706b0dd6168ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7f1165aae342e6ce20971ef6bf91ad579fc27c75faa323f61706b0dd6168ef", kill_on_drop: false }` [INFO] [stdout] ce7f1165aae342e6ce20971ef6bf91ad579fc27c75faa323f61706b0dd6168ef