[INFO] cloning repository https://github.com/vadkutsen/near-petshop-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vadkutsen/near-petshop-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvadkutsen%2Fnear-petshop-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvadkutsen%2Fnear-petshop-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 638bdfe899f47f2d9d1a72bcd86dbd5aa4e2ee0a [INFO] testing vadkutsen/near-petshop-contract against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvadkutsen%2Fnear-petshop-contract" "/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/vadkutsen/near-petshop-contract on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vadkutsen/near-petshop-contract [INFO] finished tweaking git repo https://github.com/vadkutsen/near-petshop-contract [INFO] tweaked toml for git repo https://github.com/vadkutsen/near-petshop-contract written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vadkutsen/near-petshop-contract 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6332b530fca32f7776c1a0cca942f7de820b02dc561964a16ecdc5badfc2f71c [INFO] running `Command { std: "docker" "start" "-a" "6332b530fca32f7776c1a0cca942f7de820b02dc561964a16ecdc5badfc2f71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6332b530fca32f7776c1a0cca942f7de820b02dc561964a16ecdc5badfc2f71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6332b530fca32f7776c1a0cca942f7de820b02dc561964a16ecdc5badfc2f71c", kill_on_drop: false }` [INFO] [stdout] 6332b530fca32f7776c1a0cca942f7de820b02dc561964a16ecdc5badfc2f71c [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7788fd4768e558f34bfbd761e6a412cf0840a176c1f51d3c55b605d089418ed [INFO] running `Command { std: "docker" "start" "-a" "c7788fd4768e558f34bfbd761e6a412cf0840a176c1f51d3c55b605d089418ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v3.1.0 [INFO] [stderr] Compiling pet_shelter_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.66s [INFO] running `Command { std: "docker" "inspect" "c7788fd4768e558f34bfbd761e6a412cf0840a176c1f51d3c55b605d089418ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7788fd4768e558f34bfbd761e6a412cf0840a176c1f51d3c55b605d089418ed", kill_on_drop: false }` [INFO] [stdout] c7788fd4768e558f34bfbd761e6a412cf0840a176c1f51d3c55b605d089418ed [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74bad0fb6b36adbf724b85cd3579230ffed8015ffb97809efa03e66c85ab0870 [INFO] running `Command { std: "docker" "start" "-a" "74bad0fb6b36adbf724b85cd3579230ffed8015ffb97809efa03e66c85ab0870", kill_on_drop: false }` [INFO] [stderr] Compiling pet_shelter_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "74bad0fb6b36adbf724b85cd3579230ffed8015ffb97809efa03e66c85ab0870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74bad0fb6b36adbf724b85cd3579230ffed8015ffb97809efa03e66c85ab0870", kill_on_drop: false }` [INFO] [stdout] 74bad0fb6b36adbf724b85cd3579230ffed8015ffb97809efa03e66c85ab0870 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9296ef1419f5587275c99c6db89c89c8b3c56bbd496a98defef96a5af0703cd3 [INFO] running `Command { std: "docker" "start" "-a" "9296ef1419f5587275c99c6db89c89c8b3c56bbd496a98defef96a5af0703cd3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pet_shelter_contract-05a924e2128926b9) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::add_then_get_pets ... ok [INFO] [stdout] test tests::adopt_and_get_pet ... ok [INFO] [stdout] test tests::donate ... ok [INFO] [stdout] test tests::cannot_donate_as_the_contract_owner - should panic ... ok [INFO] [stdout] test tests::breed_is_empty - should panic ... ok [INFO] [stdout] test tests::age_is_0 - should panic ... ok [INFO] [stdout] test tests::location_is_empty - should panic ... ok [INFO] [stdout] test tests::name_is_empty - should panic ... ok [INFO] [stdout] test tests::cannot_add_pet_if_not_contract_owner - should panic ... ok [INFO] [stderr] Doc-tests pet_shelter_contract [INFO] [stdout] test tests::cannot_adopt_if_already_adopted - should panic ... ok [INFO] [stdout] test tests::picture_is_empty - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: failed to create temporary directory: Custom { kind: StorageFull, error: PathError { path: "/tmp/rustdoctestQ5jePY", err: Os { code: 28, kind: StorageFull, message: "No space left on device" } } } [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/414482f6a0d4e7290f614300581a0b55442552a3/bin/rustdoc --edition=2018 --crate-type cdylib --crate-type rlib --color auto --crate-name pet_shelter_contract --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern near_sdk=/opt/rustwide/target/debug/deps/libnear_sdk-c2153e84590ac5a1.rlib --extern pet_shelter_contract=/opt/rustwide/target/debug/deps/libpet_shelter_contract.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "9296ef1419f5587275c99c6db89c89c8b3c56bbd496a98defef96a5af0703cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9296ef1419f5587275c99c6db89c89c8b3c56bbd496a98defef96a5af0703cd3", kill_on_drop: false }` [INFO] [stdout] 9296ef1419f5587275c99c6db89c89c8b3c56bbd496a98defef96a5af0703cd3