[INFO] cloning repository https://github.com/ajuvercr/only_scan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajuvercr/only_scan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajuvercr%2Fonly_scan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajuvercr%2Fonly_scan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25e473ce80d6c2e6f8236c3921432d8efc6aedee [INFO] testing ajuvercr/only_scan against try#61cd42370816fd135c0f3b9debf2f5dfcf194594 for pr-98839 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajuvercr%2Fonly_scan" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajuvercr/only_scan on toolchain 61cd42370816fd135c0f3b9debf2f5dfcf194594 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajuvercr/only_scan [INFO] finished tweaking git repo https://github.com/ajuvercr/only_scan [INFO] tweaked toml for git repo https://github.com/ajuvercr/only_scan written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ajuvercr/only_scan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95ce42a3df64b75b66536b20028fd2b70e591beaac855734bec4db66f52beeb4 [INFO] running `Command { std: "docker" "start" "-a" "95ce42a3df64b75b66536b20028fd2b70e591beaac855734bec4db66f52beeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95ce42a3df64b75b66536b20028fd2b70e591beaac855734bec4db66f52beeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ce42a3df64b75b66536b20028fd2b70e591beaac855734bec4db66f52beeb4", kill_on_drop: false }` [INFO] [stdout] 95ce42a3df64b75b66536b20028fd2b70e591beaac855734bec4db66f52beeb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b44402195e037f846d32ff86e87ae9c61bcb35f09f37b10810a98ffa1ee05403 [INFO] running `Command { std: "docker" "start" "-a" "b44402195e037f846d32ff86e87ae9c61bcb35f09f37b10810a98ffa1ee05403", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling normpath v0.3.2 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling cool-id-generator v1.0.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling feignhttp-codegen v0.3.0 [INFO] [stderr] Compiling crud_helper v0.1.0 (/opt/rustwide/workdir/crud_helper) [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling feignhttp v0.3.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Compiling only_scan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] #[derive(FromForm, Deserialize, Serialize, Debug, AsChangeset, Clone)] [INFO] [stdout] #[table_name = "tasks"] pub struct TaskBuilder [INFO] [stdout] { [INFO] [stdout] pub done : :: std :: option :: Option < bool >, pub img : :: std :: option [INFO] [stdout] :: Option < Option < String > >, pub title : :: std :: option :: Option < [INFO] [stdout] String >, pub description : :: std :: option :: Option < String >, pub [INFO] [stdout] points : :: std :: option :: Option < i32 >, pub parent : :: std :: option [INFO] [stdout] :: Option < Option < i32 > >, pub children : :: std :: option :: Option < [INFO] [stdout] Vec < i32 > > [INFO] [stdout] } impl TaskBuilder [INFO] [stdout] { [INFO] [stdout] pub fn new() -> Self [INFO] [stdout] { [INFO] [stdout] Self [INFO] [stdout] { [INFO] [stdout] done : None, img : None, title : None, description : None, points [INFO] [stdout] : None, parent : None, children : None, [INFO] [stdout] } [INFO] [stdout] } pub fn update(self, this : & mut Task) [INFO] [stdout] { [INFO] [stdout] if let Some(x) = self.done { this.done = x ; } if let Some(x) = [INFO] [stdout] self.img { this.img = x ; } if let Some(x) = self.title [INFO] [stdout] { this.title = x ; } if let Some(x) = self.description [INFO] [stdout] { this.description = x ; } if let Some(x) = self.points [INFO] [stdout] { this.points = x ; } if let Some(x) = self.parent [INFO] [stdout] { this.parent = x ; } if let Some(x) = self.children [INFO] [stdout] { this.children = x ; } [INFO] [stdout] } [INFO] [stdout] } impl Task [INFO] [stdout] { [INFO] [stdout] pub fn builder() -> TaskBuilder { TaskBuilder :: new() } pub fn [INFO] [stdout] update(& mut self, this : TaskBuilder) [INFO] [stdout] { [INFO] [stdout] if let Some(x) = this.done { self.done = x ; } if let Some(x) = [INFO] [stdout] this.img { self.img = x ; } if let Some(x) = this.title [INFO] [stdout] { self.title = x ; } if let Some(x) = this.description [INFO] [stdout] { self.description = x ; } if let Some(x) = this.points [INFO] [stdout] { self.points = x ; } if let Some(x) = this.parent [INFO] [stdout] { self.parent = x ; } if let Some(x) = this.children [INFO] [stdout] { self.children = x ; } [INFO] [stdout] } [INFO] [stdout] } impl TaskBuilder [INFO] [stdout] { [INFO] [stdout] pub fn with_done(mut self, t : bool) -> Self [INFO] [stdout] { self.done = t.into() ; self } pub fn [INFO] [stdout] with_img(mut self, t : Option < String >) -> Self [INFO] [stdout] { self.img = t.into() ; self } pub fn with_title(mut self, t : String) -> [INFO] [stdout] Self { self.title = t.into() ; self } pub fn [INFO] [stdout] with_description(mut self, t : String) -> Self [INFO] [stdout] { self.description = t.into() ; self } pub fn [INFO] [stdout] with_points(mut self, t : i32) -> Self { self.points = t.into() ; self } [INFO] [stdout] pub fn with_parent(mut self, t : Option < i32 >) -> Self [INFO] [stdout] { self.parent = t.into() ; self } pub fn [INFO] [stdout] with_children(mut self, t : Vec < i32 >) -> Self [INFO] [stdout] { self.children = t.into() ; self } [INFO] [stdout] } [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn_trait_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/fava/graphs.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn index(context: Context, user: AuthUser) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fava/models/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn new>(name: S, price: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `needs_categorised` is never used [INFO] [stdout] --> src/fava/models/mod.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn needs_categorised(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "b44402195e037f846d32ff86e87ae9c61bcb35f09f37b10810a98ffa1ee05403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b44402195e037f846d32ff86e87ae9c61bcb35f09f37b10810a98ffa1ee05403", kill_on_drop: false }` [INFO] [stdout] b44402195e037f846d32ff86e87ae9c61bcb35f09f37b10810a98ffa1ee05403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 819659a934e7884ebc1fc23cfba3594a5abadaf06ba62a63eee84aabbe3d6ba5 [INFO] running `Command { std: "docker" "start" "-a" "819659a934e7884ebc1fc23cfba3594a5abadaf06ba62a63eee84aabbe3d6ba5", kill_on_drop: false }` [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling only_scan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] #[derive(FromForm, Deserialize, Serialize, Debug, AsChangeset, Clone)] [INFO] [stdout] #[table_name = "tasks"] pub struct TaskBuilder [INFO] [stdout] { [INFO] [stdout] pub done : :: std :: option :: Option < bool >, pub img : :: std :: option [INFO] [stdout] :: Option < Option < String > >, pub title : :: std :: option :: Option < [INFO] [stdout] String >, pub description : :: std :: option :: Option < String >, pub [INFO] [stdout] points : :: std :: option :: Option < i32 >, pub parent : :: std :: option [INFO] [stdout] :: Option < Option < i32 > >, pub children : :: std :: option :: Option < [INFO] [stdout] Vec < i32 > > [INFO] [stdout] } impl TaskBuilder [INFO] [stdout] { [INFO] [stdout] pub fn new() -> Self [INFO] [stdout] { [INFO] [stdout] Self [INFO] [stdout] { [INFO] [stdout] done : None, img : None, title : None, description : None, points [INFO] [stdout] : None, parent : None, children : None, [INFO] [stdout] } [INFO] [stdout] } pub fn update(self, this : & mut Task) [INFO] [stdout] { [INFO] [stdout] if let Some(x) = self.done { this.done = x ; } if let Some(x) = [INFO] [stdout] self.img { this.img = x ; } if let Some(x) = self.title [INFO] [stdout] { this.title = x ; } if let Some(x) = self.description [INFO] [stdout] { this.description = x ; } if let Some(x) = self.points [INFO] [stdout] { this.points = x ; } if let Some(x) = self.parent [INFO] [stdout] { this.parent = x ; } if let Some(x) = self.children [INFO] [stdout] { this.children = x ; } [INFO] [stdout] } [INFO] [stdout] } impl Task [INFO] [stdout] { [INFO] [stdout] pub fn builder() -> TaskBuilder { TaskBuilder :: new() } pub fn [INFO] [stdout] update(& mut self, this : TaskBuilder) [INFO] [stdout] { [INFO] [stdout] if let Some(x) = this.done { self.done = x ; } if let Some(x) = [INFO] [stdout] this.img { self.img = x ; } if let Some(x) = this.title [INFO] [stdout] { self.title = x ; } if let Some(x) = this.description [INFO] [stdout] { self.description = x ; } if let Some(x) = this.points [INFO] [stdout] { self.points = x ; } if let Some(x) = this.parent [INFO] [stdout] { self.parent = x ; } if let Some(x) = this.children [INFO] [stdout] { self.children = x ; } [INFO] [stdout] } [INFO] [stdout] } impl TaskBuilder [INFO] [stdout] { [INFO] [stdout] pub fn with_done(mut self, t : bool) -> Self [INFO] [stdout] { self.done = t.into() ; self } pub fn [INFO] [stdout] with_img(mut self, t : Option < String >) -> Self [INFO] [stdout] { self.img = t.into() ; self } pub fn with_title(mut self, t : String) -> [INFO] [stdout] Self { self.title = t.into() ; self } pub fn [INFO] [stdout] with_description(mut self, t : String) -> Self [INFO] [stdout] { self.description = t.into() ; self } pub fn [INFO] [stdout] with_points(mut self, t : i32) -> Self { self.points = t.into() ; self } [INFO] [stdout] pub fn with_parent(mut self, t : Option < i32 >) -> Self [INFO] [stdout] { self.parent = t.into() ; self } pub fn [INFO] [stdout] with_children(mut self, t : Vec < i32 >) -> Self [INFO] [stdout] { self.children = t.into() ; self } [INFO] [stdout] } [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn_trait_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/fava/graphs.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn index(context: Context, user: AuthUser) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fava/models/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn new>(name: S, price: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `needs_categorised` is never used [INFO] [stdout] --> src/fava/models/mod.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn needs_categorised(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.18s [INFO] running `Command { std: "docker" "inspect" "819659a934e7884ebc1fc23cfba3594a5abadaf06ba62a63eee84aabbe3d6ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819659a934e7884ebc1fc23cfba3594a5abadaf06ba62a63eee84aabbe3d6ba5", kill_on_drop: false }` [INFO] [stdout] 819659a934e7884ebc1fc23cfba3594a5abadaf06ba62a63eee84aabbe3d6ba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1604a53dd1ab63647b72a6cb75838835d96773fad1be6a88c26a0b54ee302b56 [INFO] running `Command { std: "docker" "start" "-a" "1604a53dd1ab63647b72a6cb75838835d96773fad1be6a88c26a0b54ee302b56", kill_on_drop: false }` [INFO] [stderr] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(const_fn_trait_bound)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/fava/graphs.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | fn index(context: Context, user: AuthUser) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/fava/models/mod.rs:210:12 [INFO] [stderr] | [INFO] [stderr] 210 | pub fn new>(name: S, price: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `needs_categorised` is never used [INFO] [stderr] --> src/fava/models/mod.rs:219:12 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn needs_categorised(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `only_scan` (bin "only_scan" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/only_scan-91a655723d8af5fd) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test sorted_list::test::test_empty ... ok [INFO] [stdout] test sorted_list::test::test_four_inv_insert ... ok [INFO] [stdout] test sorted_list::test::test_four_on_field_insert ... ok [INFO] [stdout] test sorted_list::test::test_four_insert ... ok [INFO] [stdout] test sorted_list::test::test_single_insert ... ok [INFO] [stdout] test sorted_list::test::test_four_q_insert ... ok [INFO] [stdout] test sorted_list::test::test_two_q_insert ... ok [INFO] [stdout] test sorted_list::test::test_two_insert ... ok [INFO] [stdout] test repository::db_repo::tests::test_get ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- repository::db_repo::tests::test_get stdout ---- [INFO] [stdout] thread 'repository::db_repo::tests::test_get' panicked at 'called `Result::unwrap()` on an `Err` value: BadConnection("could not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot assign requested address\n\tIs the server running on host \"localhost\" (::1) and accepting\n\tTCP/IP connections on port 5432?\n")', src/repository/db_repo.rs:115:31 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ce610094a0 - std::backtrace_rs::backtrace::libunwind::trace::h385ffbf574363e81 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x55ce610094a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h1d1dbabbc7babee7 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55ce610094a0 - std::sys_common::backtrace::_print_fmt::h3fd7a321b650d311 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55ce610094a0 - ::fmt::h9c5fc513eb6f6c7a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55ce6102c13c - core::fmt::write::h149259a69b3e2f89 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x55ce61005ec5 - std::io::Write::write_fmt::h6d11f4b16fd2c9e6 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x55ce6100aee1 - std::sys_common::backtrace::_print::h350a49f9ba10dc38 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55ce6100aee1 - std::sys_common::backtrace::print::hc9483bcde74add9a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55ce6100aee1 - std::panicking::default_hook::{{closure}}::h033c319db21062da [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55ce6100ab36 - std::panicking::default_hook::h082702b84ddf9cba [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55ce6100b583 - std::panicking::rust_panic_with_hook::hb5031567964b2362 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55ce6100b477 - std::panicking::begin_panic_handler::{{closure}}::h040f81592aed215a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55ce61009974 - std::sys_common::backtrace::__rust_end_short_backtrace::hb55752442d66befe [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55ce6100b1a2 - rust_begin_unwind [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55ce60f6adb3 - core::panicking::panic_fmt::hab8e33512c332233 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55ce60f6af03 - core::result::unwrap_failed::ha596fafa7ca6c65c [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/result.rs:1805:5 [INFO] [stdout] 16: 0x55ce60f7bdcc - core::result::Result::unwrap::h37778c04913ec9a2 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/result.rs:1098:23 [INFO] [stdout] 17: 0x55ce60f7647e - only_scan::repository::db_repo::tests::establish_connection::h2518f579fd73981b [INFO] [stdout] at /opt/rustwide/workdir/src/repository/db_repo.rs:115:9 [INFO] [stdout] 18: 0x55ce60f764d1 - only_scan::repository::db_repo::tests::test_get::ha95652ead3b3759d [INFO] [stdout] at /opt/rustwide/workdir/src/repository/db_repo.rs:120:24 [INFO] [stdout] 19: 0x55ce60f7649a - only_scan::repository::db_repo::tests::test_get::{{closure}}::h8d45a6da63ffc8ea [INFO] [stdout] at /opt/rustwide/workdir/src/repository/db_repo.rs:119:5 [INFO] [stdout] 20: 0x55ce60f7d5ae - core::ops::function::FnOnce::call_once::hda02b0c3c41178cb [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x55ce60fb93a3 - core::ops::function::FnOnce::call_once::ha7afe1ddf9a8665b [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 22: 0x55ce60fb93a3 - test::__rust_begin_short_backtrace::h02df713062fe0d09 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:572:5 [INFO] [stdout] 23: 0x55ce60fb819c - as core::ops::function::FnOnce>::call_once::h4f2b36c78ff85792 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 24: 0x55ce60fb819c - as core::ops::function::FnOnce<()>>::call_once::h8624c6094a076c25 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55ce60fb819c - std::panicking::try::do_call::h0c501a0f7fa5bee0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55ce60fb819c - std::panicking::try::h60ab49b272d3e4f0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55ce60fb819c - std::panic::catch_unwind::h5f34d55961997ae8 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55ce60fb819c - test::run_test_in_process::hcf99044408a39ffa [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:595:18 [INFO] [stdout] 29: 0x55ce60fb819c - test::run_test::run_test_inner::{{closure}}::h5f747e7c34969277 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:489:39 [INFO] [stdout] 30: 0x55ce60f8410c - test::run_test::run_test_inner::{{closure}}::hfbc9b7f814e7611c [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:516:37 [INFO] [stdout] 31: 0x55ce60f8410c - std::sys_common::backtrace::__rust_begin_short_backtrace::hc864e8be9763567e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55ce60f8a01f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h635fae7f98a9851a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 33: 0x55ce60f8a01f - as core::ops::function::FnOnce<()>>::call_once::hb0e77e0fbf0b74e7 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55ce60f8a01f - std::panicking::try::do_call::h843a2c7f433b6950 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55ce60f8a01f - std::panicking::try::h64dfa5d8b1ef556f [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55ce60f8a01f - std::panic::catch_unwind::h3af2f5bf220b9738 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55ce60f8a01f - std::thread::Builder::spawn_unchecked_::{{closure}}::h8fd0a07746213f59 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 38: 0x55ce60f8a01f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h589aaf080555aafb [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 39: 0x55ce6100faf3 - as core::ops::function::FnOnce>::call_once::h4a4c573311170bd5 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 40: 0x55ce6100faf3 - as core::ops::function::FnOnce>::call_once::h4c3a154b8915668e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 41: 0x55ce6100faf3 - std::sys::unix::thread::Thread::new::thread_start::h9d4e5992c5fda7ce [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7fe3f055c609 - start_thread [INFO] [stdout] 43: 0x7fe3f032a133 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] repository::db_repo::tests::test_get [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin only_scan' [INFO] running `Command { std: "docker" "inspect" "1604a53dd1ab63647b72a6cb75838835d96773fad1be6a88c26a0b54ee302b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1604a53dd1ab63647b72a6cb75838835d96773fad1be6a88c26a0b54ee302b56", kill_on_drop: false }` [INFO] [stdout] 1604a53dd1ab63647b72a6cb75838835d96773fad1be6a88c26a0b54ee302b56