[INFO] cloning repository kevinmichaelchen/hero-api [INFO] running `"git" "clone" "--bare" "git://github.com/kevinmichaelchen/hero-api.git" "work/cache/sources/gh/kevinmichaelchen/hero-api"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/kevinmichaelchen/hero-api'... [INFO] running `"git" "clone" "work/cache/sources/gh/kevinmichaelchen/hero-api" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kevinmichaelchen/hero-api"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kevinmichaelchen/hero-api'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kevinmichaelchen/hero-api" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kevinmichaelchen/hero-api"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kevinmichaelchen/hero-api'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9b8ac9070ec05154ef8a1df0680a0bfac778ed05 [INFO] sha for GitHub repo kevinmichaelchen/hero-api: 9b8ac9070ec05154ef8a1df0680a0bfac778ed05 [INFO] validating manifest of kevinmichaelchen/hero-api on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kevinmichaelchen/hero-api on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kevinmichaelchen/hero-api [INFO] finished frobbing kevinmichaelchen/hero-api [INFO] frobbed toml for kevinmichaelchen/hero-api written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kevinmichaelchen/hero-api/Cargo.toml [INFO] started frobbing kevinmichaelchen/hero-api [INFO] finished frobbing kevinmichaelchen/hero-api [INFO] frobbed toml for kevinmichaelchen/hero-api written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kevinmichaelchen/hero-api/Cargo.toml [INFO] crate kevinmichaelchen/hero-api already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing kevinmichaelchen/hero-api against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kevinmichaelchen/hero-api:/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 9b3273284a3c7a05404d6f45a344a334be5b91ed9b45fd7865a4b158cc4f0c7d [INFO] running `"docker" "start" "-a" "9b3273284a3c7a05404d6f45a344a334be5b91ed9b45fd7865a4b158cc4f0c7d"` [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling base64 v0.10.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.3 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling r2d2 v0.8.3 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling notify v4.0.6 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling rocket_http v0.4.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling rocket_codegen v0.4.0 [INFO] [stderr] Compiling rocket v0.4.0 [INFO] [stderr] Compiling rocket_contrib v0.4.0 [INFO] [stderr] Compiling rocket_cors v0.4.0 [INFO] [stderr] Compiling hero-api v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `AllowedHeaders` [INFO] [stderr] --> src/main.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | use rocket_cors::{AllowedHeaders, AllowedOrigins}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rocket::response::status` [INFO] [stderr] --> src/hero.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rocket::response::status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot find type `HeroWithId` in this scope [INFO] [stderr] --> src/hero.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: #[warn(proc_macro_derive_resolution_fallback)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hero` in this scope [INFO] [stderr] --> src/hero.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `HeroWithId` in this scope [INFO] [stderr] --> src/hero.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `HeroWithId` in this scope [INFO] [stderr] --> src/hero.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Hero` in this scope [INFO] [stderr] --> src/hero.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hero` in this scope [INFO] [stderr] --> src/hero.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hero` in this scope [INFO] [stderr] --> src/hero.rs:24:54 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Hero` in this scope [INFO] [stderr] --> src/hero.rs:24:54 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | derive ( Debug , Clone , Copy , QueryId ) ] /// The actual table struct [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `identity` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hometown` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `age` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `image_url` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/hero.rs:77:18 [INFO] [stderr] | [INFO] [stderr] 77 | |res| Json(json!(Hero::get_most_recently_created_hero(connection))), [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `extant` [INFO] [stderr] --> src/hero.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | |extant| Hero::get_detail(connection, id), [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_extant` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/hero.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | x => (), [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(uniform_paths)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(stable_features)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 54s [INFO] running `"docker" "inspect" "9b3273284a3c7a05404d6f45a344a334be5b91ed9b45fd7865a4b158cc4f0c7d"` [INFO] running `"docker" "rm" "-f" "9b3273284a3c7a05404d6f45a344a334be5b91ed9b45fd7865a4b158cc4f0c7d"` [INFO] [stdout] 9b3273284a3c7a05404d6f45a344a334be5b91ed9b45fd7865a4b158cc4f0c7d [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kevinmichaelchen/hero-api:/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 4444e6d2aba7936d1140ae9b2c02bae5da89583887d8eb97ba28277bacd40a75 [INFO] running `"docker" "start" "-a" "4444e6d2aba7936d1140ae9b2c02bae5da89583887d8eb97ba28277bacd40a75"` [INFO] [stderr] Compiling hero-api v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `AllowedHeaders` [INFO] [stderr] --> src/main.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | use rocket_cors::{AllowedHeaders, AllowedOrigins}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rocket::response::status` [INFO] [stderr] --> src/hero.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rocket::response::status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot find type `HeroWithId` in this scope [INFO] [stderr] --> src/hero.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: #[warn(proc_macro_derive_resolution_fallback)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hero` in this scope [INFO] [stderr] --> src/hero.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `HeroWithId` in this scope [INFO] [stderr] --> src/hero.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `HeroWithId` in this scope [INFO] [stderr] --> src/hero.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Queryable)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Hero` in this scope [INFO] [stderr] --> src/hero.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hero` in this scope [INFO] [stderr] --> src/hero.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hero` in this scope [INFO] [stderr] --> src/hero.rs:24:54 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Hero` in this scope [INFO] [stderr] --> src/hero.rs:24:54 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(AsChangeset, Serialize, Deserialize, Debug, Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | derive ( Debug , Clone , Copy , QueryId ) ] /// The actual table struct [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `identity` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `hometown` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `age` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `image_url` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/hero.rs:77:18 [INFO] [stderr] | [INFO] [stderr] 77 | |res| Json(json!(Hero::get_most_recently_created_hero(connection))), [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `extant` [INFO] [stderr] --> src/hero.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | |extant| Hero::get_detail(connection, id), [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_extant` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/hero.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | x => (), [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(uniform_paths)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(stable_features)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.66s [INFO] running `"docker" "inspect" "4444e6d2aba7936d1140ae9b2c02bae5da89583887d8eb97ba28277bacd40a75"` [INFO] running `"docker" "rm" "-f" "4444e6d2aba7936d1140ae9b2c02bae5da89583887d8eb97ba28277bacd40a75"` [INFO] [stdout] 4444e6d2aba7936d1140ae9b2c02bae5da89583887d8eb97ba28277bacd40a75 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kevinmichaelchen/hero-api:/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] d4b04c4623e4ec464415acbb9011d8fb08dc77c02c029f34c79efefaaa5b25ad [INFO] running `"docker" "start" "-a" "d4b04c4623e4ec464415acbb9011d8fb08dc77c02c029f34c79efefaaa5b25ad"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/crater/target/debug/deps/hero_api-2bfe8bc2baf07491 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") [INFO] [stdout] test tests::test_hello ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_hello stdout ---- [INFO] [stdout] Configured for development. [INFO] [stdout] => address: localhost [INFO] [stdout] => port: 8000 [INFO] [stdout] => log: normal [INFO] [stdout] => workers: 16 [INFO] [stdout] => secret key: generated [INFO] [stdout] => limits: forms = 32KiB [INFO] [stdout] => keep-alive: 5s [INFO] [stdout] => tls: disabled [INFO] [stdout] => [extra] databases: { my_db = { url = "mysql://hero:hero@localhost/hero" } } [INFO] [stdout] Mounting /hero: [INFO] [stdout] => POST /hero (create) [INFO] [stdout] => PUT /hero/ (update) [INFO] [stdout] => DELETE /hero/ (delete) [INFO] [stdout] => GET /hero (get_bulk) [INFO] [stdout] => GET /hero/ (get_detail) [INFO] [stdout] => PATCH /hero/ (patch) [INFO] [stdout] Mounting /: [INFO] [stdout] => GET / (hello) [INFO] [stdout] Error: Failed to initialize pool for 'my_db' [INFO] [stdout] => Error: Error(Some("Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2 \"No such file or directory\")")) [INFO] [stdout] Mounting /cors: [INFO] [stdout] => GET /cors/ [INFO] [stdout] thread 'tests::test_hello' panicked at 'called `Result::unwrap()` on an `Err` value: FailedFairings(["\'my_db\' Database Pool"])', src/libcore/result.rs:999:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55d362e7ef7b - backtrace::backtrace::libunwind::trace::h98ebe34dc63b52e3 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x55d362e7ef7b - backtrace::backtrace::trace_unsynchronized::hd041341a38fdc1ca [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55d362e7ef7b - std::sys_common::backtrace::_print::hc8c584aa09df5c15 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:47 [INFO] [stdout] 3: 0x55d362e7ef7b - std::sys_common::backtrace::print::h4828f56ae571c1ad [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:36 [INFO] [stdout] 4: 0x55d362e7ef7b - std::panicking::default_hook::{{closure}}::h69fce690c9f4b3d3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 5: 0x55d362e7ec0f - std::panicking::default_hook::h231e0e11400caad4 [INFO] [stdout] at src/libstd/panicking.rs:209 [INFO] [stdout] 6: 0x55d362e7f6f0 - std::panicking::rust_panic_with_hook::h8c0d039880f491f2 [INFO] [stdout] at src/libstd/panicking.rs:475 [INFO] [stdout] 7: 0x55d362e7f272 - std::panicking::continue_panic_fmt::hd71af4da4e8103ab [INFO] [stdout] at src/libstd/panicking.rs:382 [INFO] [stdout] 8: 0x55d362e7f156 - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:309 [INFO] [stdout] 9: 0x55d362e9b2cd - core::panicking::panic_fmt::h5b6e1f42b8cc12be [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 10: 0x55d362a3b1f3 - core::result::unwrap_failed::hba11c3d8a9b468bd [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libcore/macros.rs:18 [INFO] [stdout] 11: 0x55d362a3fb54 - core::result::Result::unwrap::h37758514075e898a [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libcore/result.rs:800 [INFO] [stdout] 12: 0x55d362a480d6 - hero_api::tests::test_hello::h824e5186ee2deaaa [INFO] [stdout] at src/tests.rs:8 [INFO] [stdout] 13: 0x55d362a4803a - hero_api::tests::test_hello::{{closure}}::h8135bfb4e4372c12 [INFO] [stdout] at src/tests.rs:7 [INFO] [stdout] 14: 0x55d362a54f2e - core::ops::function::FnOnce::call_once::h454772ddbfe21074 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libcore/ops/function.rs:231 [INFO] [stdout] 15: 0x55d362a95c1f - as core::ops::function::FnOnce>::call_once::h7d12c58d88f85f52 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/liballoc/boxed.rs:746 [INFO] [stdout] 16: 0x55d362e82e2a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 17: 0x55d362ab05f8 - std::panicking::try::h5ed77697f4b9cf5a [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/panicking.rs:273 [INFO] [stdout] 18: 0x55d362ab05f8 - std::panic::catch_unwind::hc3df70fd601bf96f [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/panic.rs:388 [INFO] [stdout] 19: 0x55d362ab05f8 - test::run_test::run_test_inner::{{closure}}::haf52e514bd7b7a7a [INFO] [stdout] at src/libtest/lib.rs:1466 [INFO] [stdout] 20: 0x55d362a8b195 - std::sys_common::backtrace::__rust_begin_short_backtrace::he61de6f42984ba1b [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/sys_common/backtrace.rs:77 [INFO] [stdout] 21: 0x55d362a8f195 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h583331a58084cfa6 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/thread/mod.rs:470 [INFO] [stdout] 22: 0x55d362a8f195 - as core::ops::function::FnOnce<()>>::call_once::h730d3f044d244375 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/panic.rs:309 [INFO] [stdout] 23: 0x55d362a8f195 - std::panicking::try::do_call::h11328ad090f12422 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/panicking.rs:294 [INFO] [stdout] 24: 0x55d362e82e2a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 25: 0x55d362a8f822 - std::panicking::try::hd00f486f5358e439 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/panicking.rs:273 [INFO] [stdout] 26: 0x55d362a8f822 - std::panic::catch_unwind::h78adeaedb9e59cb0 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/panic.rs:388 [INFO] [stdout] 27: 0x55d362a8f822 - std::thread::Builder::spawn_unchecked::{{closure}}::ha2637f22a0fb0434 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libstd/thread/mod.rs:469 [INFO] [stdout] 28: 0x55d362a8f822 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h86e6656f4f46649d [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/libcore/ops/function.rs:231 [INFO] [stdout] 29: 0x55d362e7270f - as core::ops::function::FnOnce>::call_once::h146d737fe1c8556c [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/liballoc/boxed.rs:746 [INFO] [stdout] 30: 0x55d362e82250 - as core::ops::function::FnOnce>::call_once::h44ec2de830c4be09 [INFO] [stdout] at /rustc/e212b7d492c96d3837691ba29d32d5f468933fb8/src/liballoc/boxed.rs:746 [INFO] [stdout] 31: 0x55d362e82250 - std::sys_common::thread::start_thread::hed7ed434f3e17f57 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 32: 0x55d362e82250 - std::sys::unix::thread::Thread::new::thread_start::h62b89907378dc35b [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 33: 0x7f7cd39814a4 - start_thread [INFO] [stdout] 34: 0x7f7cd34acd0f - __clone [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_hello [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin hero-api' [INFO] running `"docker" "inspect" "d4b04c4623e4ec464415acbb9011d8fb08dc77c02c029f34c79efefaaa5b25ad"` [INFO] running `"docker" "rm" "-f" "d4b04c4623e4ec464415acbb9011d8fb08dc77c02c029f34c79efefaaa5b25ad"` [INFO] [stdout] d4b04c4623e4ec464415acbb9011d8fb08dc77c02c029f34c79efefaaa5b25ad