[INFO] updating cached repository swnb/blog-server [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/swnb/blog-server [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/swnb/blog-server" "work/ex/beta-1.38-1/sources/1.37.0/gh/swnb/blog-server"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/swnb/blog-server'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/swnb/blog-server" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/swnb/blog-server"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/swnb/blog-server'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 14b13c977ad4f3e5371428151470ded28581c5c5 [INFO] sha for GitHub repo swnb/blog-server: 14b13c977ad4f3e5371428151470ded28581c5c5 [INFO] validating manifest of swnb/blog-server on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of swnb/blog-server on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing swnb/blog-server [INFO] finished frobbing swnb/blog-server [INFO] frobbed toml for swnb/blog-server written to work/ex/beta-1.38-1/sources/1.37.0/gh/swnb/blog-server/Cargo.toml [INFO] started frobbing swnb/blog-server [INFO] finished frobbing swnb/blog-server [INFO] frobbed toml for swnb/blog-server written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/swnb/blog-server/Cargo.toml [INFO] crate swnb/blog-server already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing swnb/blog-server against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/swnb/blog-server:/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.37.0" "build" "--frozen"` [INFO] [stdout] afcd0254368143936eca5741177cbcd5b2175b0d014fd780906da6d8422109ca [INFO] running `"docker" "start" "-a" "afcd0254368143936eca5741177cbcd5b2175b0d014fd780906da6d8422109ca"` [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling pulldown-cmark v0.4.1 [INFO] [stderr] Compiling copyless v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.40 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling actix-service v0.4.1 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling signal-hook v0.1.8 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling actix-utils v0.4.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.1 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling actix-server-config v0.1.1 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling v_escape_derive v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling actix-threadpool v0.1.1 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling actix-rt v0.2.2 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-connect v0.2.0 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling actix-http v0.2.3 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling blog v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/markdown_parser/html_parser/parser.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | type Callback = Box; [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Dom)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/paper.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | fn alive_check(req: &HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*attrs` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/markdown_parser/mod.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 45 | if let Some(text) = attrs.get("text") { [INFO] [stderr] | ----- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 48 | attrs.insert(String::from("text"), text.to_string()); [INFO] [stderr] | ^^^^^ mutable borrow occurs here ---- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: method is never used: `query_attrs` [INFO] [stderr] --> src/markdown_parser/html_parser/dom.rs:38:2 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn query_attrs(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `query_children` [INFO] [stderr] --> src/markdown_parser/html_parser/dom.rs:47:2 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn query_children(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_paper_tags` [INFO] [stderr] --> src/models/mod.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn get_paper_tags(param_id: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_relatad_paper_by_tag` [INFO] [stderr] --> src/models/mod.rs:100:1 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn get_relatad_paper_by_tag(param_tag: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static variable `connection_pool` should have an upper case name [INFO] [stderr] --> src/models/connect.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | static ref connection_pool:Pool = create_connection(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CONNECTION_POOL` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_upper_case_globals)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 26s [INFO] running `"docker" "inspect" "afcd0254368143936eca5741177cbcd5b2175b0d014fd780906da6d8422109ca"` [INFO] running `"docker" "rm" "-f" "afcd0254368143936eca5741177cbcd5b2175b0d014fd780906da6d8422109ca"` [INFO] [stdout] afcd0254368143936eca5741177cbcd5b2175b0d014fd780906da6d8422109ca [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/swnb/blog-server:/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.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] db4739b069a21b068310a56ccc2060637abeabefc755f754d2b6324450699ce1 [INFO] running `"docker" "start" "-a" "db4739b069a21b068310a56ccc2060637abeabefc755f754d2b6324450699ce1"` [INFO] [stderr] Compiling blog v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/markdown_parser/html_parser/parser.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | type Callback = Box; [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Dom)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/paper.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | fn alive_check(req: &HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*attrs` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/markdown_parser/mod.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 45 | if let Some(text) = attrs.get("text") { [INFO] [stderr] | ----- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 48 | attrs.insert(String::from("text"), text.to_string()); [INFO] [stderr] | ^^^^^ mutable borrow occurs here ---- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: method is never used: `query_attrs` [INFO] [stderr] --> src/markdown_parser/html_parser/dom.rs:38:2 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn query_attrs(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `query_children` [INFO] [stderr] --> src/markdown_parser/html_parser/dom.rs:47:2 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn query_children(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_paper_tags` [INFO] [stderr] --> src/models/mod.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn get_paper_tags(param_id: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_relatad_paper_by_tag` [INFO] [stderr] --> src/models/mod.rs:100:1 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn get_relatad_paper_by_tag(param_tag: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static variable `connection_pool` should have an upper case name [INFO] [stderr] --> src/models/connect.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | static ref connection_pool:Pool = create_connection(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CONNECTION_POOL` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `"docker" "inspect" "db4739b069a21b068310a56ccc2060637abeabefc755f754d2b6324450699ce1"` [INFO] running `"docker" "rm" "-f" "db4739b069a21b068310a56ccc2060637abeabefc755f754d2b6324450699ce1"` [INFO] [stdout] db4739b069a21b068310a56ccc2060637abeabefc755f754d2b6324450699ce1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/swnb/blog-server:/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.37.0" "test" "--frozen"` [INFO] [stdout] c8c187ede246d3d432e1e1193b83baf59544516efedf6c0eaaf7e230b833c141 [INFO] running `"docker" "start" "-a" "c8c187ede246d3d432e1e1193b83baf59544516efedf6c0eaaf7e230b833c141"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/crater/target/debug/deps/blog-20ef90ac19ce4b49 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test markdown_parser::html_parser::parser::test_add ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "c8c187ede246d3d432e1e1193b83baf59544516efedf6c0eaaf7e230b833c141"` [INFO] running `"docker" "rm" "-f" "c8c187ede246d3d432e1e1193b83baf59544516efedf6c0eaaf7e230b833c141"` [INFO] [stdout] c8c187ede246d3d432e1e1193b83baf59544516efedf6c0eaaf7e230b833c141