[INFO] updating cached repository https://github.com/haryu703/cash-tx-builder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f48e2edf146e5f5c61c2c288aca3e95ef32b3c31 [INFO] testing haryu703/cash-tx-builder against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharyu703%2Fcash-tx-builder" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haryu703/cash-tx-builder on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/haryu703/cash-tx-builder [INFO] finished tweaking git repo https://github.com/haryu703/cash-tx-builder [INFO] tweaked toml for git repo https://github.com/haryu703/cash-tx-builder written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/haryu703/cash-tx-builder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08613c73bfc181bab36c1e0e5c7606f5026d6ca44743ac5fba8e8ba956f49619 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "08613c73bfc181bab36c1e0e5c7606f5026d6ca44743ac5fba8e8ba956f49619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08613c73bfc181bab36c1e0e5c7606f5026d6ca44743ac5fba8e8ba956f49619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08613c73bfc181bab36c1e0e5c7606f5026d6ca44743ac5fba8e8ba956f49619", kill_on_drop: false }` [INFO] [stdout] 08613c73bfc181bab36c1e0e5c7606f5026d6ca44743ac5fba8e8ba956f49619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c75b900a1ae09bbe2afaa983f10933ae1d884a6d1a6f9f51031eb4a52fe47614 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c75b900a1ae09bbe2afaa983f10933ae1d884a6d1a6f9f51031eb4a52fe47614", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling cash_tx_builder v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.32s [INFO] running `Command { std: "docker" "inspect" "c75b900a1ae09bbe2afaa983f10933ae1d884a6d1a6f9f51031eb4a52fe47614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c75b900a1ae09bbe2afaa983f10933ae1d884a6d1a6f9f51031eb4a52fe47614", kill_on_drop: false }` [INFO] [stdout] c75b900a1ae09bbe2afaa983f10933ae1d884a6d1a6f9f51031eb4a52fe47614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81c73f15403e6e834382284980fb4c2a369857b5db833e157c348b418a7cddd3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81c73f15403e6e834382284980fb4c2a369857b5db833e157c348b418a7cddd3", kill_on_drop: false }` [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling bech32 v0.6.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling cash_addr v0.1.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [INFO] [stderr] Compiling bs58 v0.2.2 [INFO] [stderr] Compiling bch_addr v0.1.0 [INFO] [stderr] Compiling hex-literal v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling cash_tx_builder v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.49s [INFO] running `Command { std: "docker" "inspect" "81c73f15403e6e834382284980fb4c2a369857b5db833e157c348b418a7cddd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c73f15403e6e834382284980fb4c2a369857b5db833e157c348b418a7cddd3", kill_on_drop: false }` [INFO] [stdout] 81c73f15403e6e834382284980fb4c2a369857b5db833e157c348b418a7cddd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f2cf0e4ea8da2858c80796c988f04ac5301c4e5fc44ca7dca0c746ded47ee16 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f2cf0e4ea8da2858c80796c988f04ac5301c4e5fc44ca7dca0c746ded47ee16", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cash_tx_builder-13bf02d563ad8cf3 [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test types::var_int::tests::from_u64 ... ok [INFO] [stdout] test types::uint256::tests::convert ... ok [INFO] [stdout] test script::tests::decode_test ... ok [INFO] [stdout] test types::transaction::output::tests::construct_test ... ok [INFO] [stdout] test types::transaction::input::tests::construct_test ... ok [INFO] [stdout] test script::tests::get_p2pkh ... ok [INFO] [stdout] test tx_builder::tests::get_digest ... ok [INFO] [stdout] test opcode::tests::to_str ... ok [INFO] [stdout] test types::transaction::tests::test_convert ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests cash_tx_builder [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::from_tx (line 65) ... FAILED [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::new (line 45) ... FAILED [INFO] [stdout] test src/script.rs - script::decode (line 132) ... ok [INFO] [stdout] test src/script/p2pkh.rs - script::p2pkh::script_pub_key (line 13) ... ok [INFO] [stdout] test src/script/p2sh.rs - script::p2sh::script_pub_key (line 13) ... ok [INFO] [stdout] test src/script.rs - script::null_data_script (line 212) ... ok [INFO] [stdout] test src/script/p2pkh.rs - script::p2pkh::script_sig (line 38) ... ok [INFO] [stdout] test src/script.rs - script::encode (line 67) ... ok [INFO] [stdout] test src/script.rs - script::address_to_script (line 170) ... ok [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::set_version (line 102) ... ok [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::add_output (line 237) ... ok [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::set_fork_id (line 127) ... ok [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::add_null_data_output (line 209) ... ok [INFO] [stdout] test src/lib.rs - (line 9) ... ok [INFO] [stdout] test src/tx_builder.rs - tx_builder::TxBuilder::from_tx (line 67) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tx_builder.rs - tx_builder::TxBuilder::from_tx (line 65) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/tx_builder.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 3 | or `None` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 3 | or 'None` [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/tx_builder.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 3 | or `None` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 3 | or `None' [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `None` [INFO] [stdout] --> src/tx_builder.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | or `None` [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tx_builder.rs - tx_builder::TxBuilder::new (line 45) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/tx_builder.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 3 | or `None` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 3 | or 'None` [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/tx_builder.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 3 | or `None` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 3 | or `None' [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `None` [INFO] [stdout] --> src/tx_builder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 3 | or `None` [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/tx_builder.rs - tx_builder::TxBuilder::from_tx (line 65) [INFO] [stdout] src/tx_builder.rs - tx_builder::TxBuilder::new (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3f2cf0e4ea8da2858c80796c988f04ac5301c4e5fc44ca7dca0c746ded47ee16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2cf0e4ea8da2858c80796c988f04ac5301c4e5fc44ca7dca0c746ded47ee16", kill_on_drop: false }` [INFO] [stdout] 3f2cf0e4ea8da2858c80796c988f04ac5301c4e5fc44ca7dca0c746ded47ee16