[INFO] updating cached repository JNhua/blockchain_Rust
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/JNhua/blockchain_Rust
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/JNhua/blockchain_Rust" "work/ex/beta-1.37-6/sources/1.36.0/gh/JNhua/blockchain_Rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/JNhua/blockchain_Rust'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/JNhua/blockchain_Rust" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/JNhua/blockchain_Rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/JNhua/blockchain_Rust'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 113d9d1b4be9a69a141267eda5bcfc2fc991bd71
[INFO] sha for GitHub repo JNhua/blockchain_Rust: 113d9d1b4be9a69a141267eda5bcfc2fc991bd71
[INFO] validating manifest of JNhua/blockchain_Rust on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of JNhua/blockchain_Rust on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing JNhua/blockchain_Rust
[INFO] finished frobbing JNhua/blockchain_Rust
[INFO] frobbed toml for JNhua/blockchain_Rust written to work/ex/beta-1.37-6/sources/1.36.0/gh/JNhua/blockchain_Rust/Cargo.toml
[INFO] started frobbing JNhua/blockchain_Rust
[INFO] finished frobbing JNhua/blockchain_Rust
[INFO] frobbed toml for JNhua/blockchain_Rust written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/JNhua/blockchain_Rust/Cargo.toml
[INFO] crate JNhua/blockchain_Rust already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing JNhua/blockchain_Rust against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/JNhua/blockchain_Rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] bb278fbbda3ab2d809323729cc31710449f1cd993059d0df73043eb7e41224af
[INFO] running `"docker" "start" "-a" "bb278fbbda3ab2d809323729cc31710449f1cd993059d0df73043eb7e41224af"`
[INFO] [stderr]    Compiling cc v1.0.35
[INFO] [stderr]    Compiling libc v0.2.51
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling proc-macro2 v0.4.28
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]    Compiling syn v0.15.32
[INFO] [stderr]    Compiling bitflags v0.4.0
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling antidote v1.0.0
[INFO] [stderr]    Compiling slab v0.1.3
[INFO] [stderr]    Compiling bytes v0.3.0
[INFO] [stderr]    Compiling json v0.11.13
[INFO] [stderr]    Compiling urlparse v0.7.3
[INFO] [stderr]    Compiling argparse v0.2.2
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.8
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling nix v0.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.43
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling miow v0.1.5
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling openssl v0.9.24
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling mio v0.5.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling hyper v0.10.15
[INFO] [stderr]    Compiling native-tls v0.1.5
[INFO] [stderr]    Compiling hyper-native-tls v0.2.4
[INFO] [stderr]    Compiling requests v0.0.30
[INFO] [stderr]    Compiling canteen v0.5.1
[INFO] [stderr]    Compiling blockchain_Rust v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]   --> src/main.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use std::rc::Rc;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use std::cell::RefCell;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::de::Deserializer`
[INFO] [stderr]   --> src/main.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | use serde::de::Deserializer;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]    --> src/main.rs:213:29
[INFO] [stderr]     |
[INFO] [stderr] 213 | static mut BC: Blockchain = Blockchain::new();
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of static item
[INFO] [stderr]    --> src/main.rs:314:30
[INFO] [stderr]     |
[INFO] [stderr] 314 |                 total_nodes: BC.nodes,
[INFO] [stderr]     |                              ^^^^^^^^ cannot move out of static item
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of static item
[INFO] [stderr]    --> src/main.rs:335:28
[INFO] [stderr]     |
[INFO] [stderr] 335 |                 new_chain: BC.chain,
[INFO] [stderr]     |                            ^^^^^^^^ cannot move out of static item
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of static item
[INFO] [stderr]    --> src/main.rs:349:24
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 chain: BC.chain,
[INFO] [stderr]     |                        ^^^^^^^^ cannot move out of static item
[INFO] [stderr] 
[INFO] [stderr] error[E0597]: `port` does not live long enough
[INFO] [stderr]    --> src/main.rs:360:18
[INFO] [stderr]     |
[INFO] [stderr] 360 |     parser.refer(&mut port).add_option(&["-p", "-port"],
[INFO] [stderr]     |                  ^^^^^^^^^ borrowed value does not live long enough
[INFO] [stderr] ...
[INFO] [stderr] 375 | }
[INFO] [stderr]     | -
[INFO] [stderr]     | |
[INFO] [stderr]     | `port` dropped here while still borrowed
[INFO] [stderr]     | borrow might be used here, when `parser` is dropped and runs the destructor for type `argparse::ArgumentParser<'_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: values in a scope are dropped in the opposite order they are defined
[INFO] [stderr] 
[INFO] [stderr] error[E0503]: cannot use `port` because it was mutably borrowed
[INFO] [stderr]    --> src/main.rs:365:28
[INFO] [stderr]     |
[INFO] [stderr] 360 |     parser.refer(&mut port).add_option(&["-p", "-port"],
[INFO] [stderr]     |                  --------- borrow of `port` occurs here
[INFO] [stderr] ...
[INFO] [stderr] 365 |     cnt.bind(("127.0.0.1", port));
[INFO] [stderr]     |                            ^^^^ use of borrowed `port`
[INFO] [stderr] ...
[INFO] [stderr] 375 | }
[INFO] [stderr]     | - borrow might be used here, when `parser` is dropped and runs the destructor for type `argparse::ArgumentParser<'_>`
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:223:22
[INFO] [stderr]     |
[INFO] [stderr] 223 |     let last_block = BC.last_block();
[INFO] [stderr]     |                      ^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:227:5
[INFO] [stderr]     |
[INFO] [stderr] 227 |     BC.new_transaction("0".to_string(), NI.to_string(), 1);
[INFO] [stderr]     |     ^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:229:17
[INFO] [stderr]     |
[INFO] [stderr] 229 |     let block = BC.new_block(proof, None);
[INFO] [stderr]     |                 ^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:261:21
[INFO] [stderr]     |
[INFO] [stderr] 261 |     let index: i8 = BC.new_transaction(values["sender"].to_string(),
[INFO] [stderr]     |                     ^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:287:16
[INFO] [stderr]     |
[INFO] [stderr] 287 |         chain: BC.chain.clone(),
[INFO] [stderr]     |                ^^^^^^^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:288:17
[INFO] [stderr]     |
[INFO] [stderr] 288 |         length: BC.chain.len(),
[INFO] [stderr]     |                 ^^^^^^^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:303:17
[INFO] [stderr]     |
[INFO] [stderr] 303 |                 BC.register_node(node.as_str().unwrap().to_string());
[INFO] [stderr]     |                 ^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:314:30
[INFO] [stderr]     |
[INFO] [stderr] 314 |                 total_nodes: BC.nodes,
[INFO] [stderr]     |                              ^^^^^^^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:322:20
[INFO] [stderr]     |
[INFO] [stderr] 322 |     let replaced = BC.resolve_conflicts();
[INFO] [stderr]     |                    ^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:335:28
[INFO] [stderr]     |
[INFO] [stderr] 335 |                 new_chain: BC.chain,
[INFO] [stderr]     |                            ^^^^^^^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: use of mutable static is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/main.rs:349:24
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 chain: BC.chain,
[INFO] [stderr]     |                        ^^^^^^^^ use of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 17 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0015, E0133, E0503, E0507, E0597.
[INFO] [stderr] For more information about an error, try `rustc --explain E0015`.
[INFO] [stderr] error: Could not compile `blockchain_Rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "bb278fbbda3ab2d809323729cc31710449f1cd993059d0df73043eb7e41224af"`
[INFO] running `"docker" "rm" "-f" "bb278fbbda3ab2d809323729cc31710449f1cd993059d0df73043eb7e41224af"`
[INFO] [stdout] bb278fbbda3ab2d809323729cc31710449f1cd993059d0df73043eb7e41224af
