[INFO] cloning repository https://github.com/drilonhametaj25/actix-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drilonhametaj25/actix-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrilonhametaj25%2Factix-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrilonhametaj25%2Factix-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ac7046c357c13f10776656b53f161d407a1ec53 [INFO] testing drilonhametaj25/actix-todo against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrilonhametaj25%2Factix-todo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/drilonhametaj25/actix-todo [INFO] finished tweaking git repo https://github.com/drilonhametaj25/actix-todo [INFO] tweaked toml for git repo https://github.com/drilonhametaj25/actix-todo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drilonhametaj25/actix-todo on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/drilonhametaj25/actix-todo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded actix-utils v2.0.0 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded resolv-conf v0.6.3 [INFO] [stderr] Downloaded flate2 v1.0.22 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded actix-macros v0.1.3 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded actix-codec v0.3.0 [INFO] [stderr] Downloaded actix-codec v0.2.0 [INFO] [stderr] Downloaded actix-router v0.2.7 [INFO] [stderr] Downloaded actix-server v1.0.4 [INFO] [stderr] Downloaded actix-tls v1.0.0 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded tracing-core v0.1.23 [INFO] [stderr] Downloaded trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded actix-http v1.0.1 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded actix-web v2.0.0 [INFO] [stderr] Downloaded ipconfig v0.2.2 [INFO] [stderr] Downloaded trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded tokio-util v0.2.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded actix-web-codegen v0.2.2 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded enum-as-inner v0.3.4 [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded pin-project v0.4.29 [INFO] [stderr] Downloaded actix-utils v1.0.6 [INFO] [stderr] Downloaded awc v1.0.1 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded serde-hjson v0.9.1 [INFO] [stderr] Downloaded actix-testing v1.0.1 [INFO] [stderr] Downloaded actix-connect v1.0.2 [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded pin-project-internal v0.4.29 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded actix-threadpool v0.3.3 [INFO] [stderr] Downloaded actix-service v1.0.6 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded linked-hash-map v0.5.4 [INFO] [stderr] Downloaded deadpool v0.5.2 [INFO] [stderr] Downloaded deadpool-postgres v0.5.6 [INFO] [stderr] Downloaded tokio-pg-mapper v0.1.8 [INFO] [stderr] Downloaded tokio-pg-mapper-derive v0.1.5 [INFO] [stderr] Downloaded async-trait v0.1.52 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded sha1 v0.6.1 [INFO] [stderr] Downloaded actix-rt v1.1.1 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded tokio-postgres v0.5.5 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded redox_syscall v0.2.12 [INFO] [stderr] Downloaded semver v1.0.6 [INFO] [stderr] Downloaded config v0.10.1 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded postgres-protocol v0.5.3 [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded postgres-types v0.1.3 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e037d30cb9bca6d22a03ecbe70055eff28b5dde8d7f95e02927a9dc13b3ef3cf [INFO] running `Command { std: "docker" "start" "-a" "e037d30cb9bca6d22a03ecbe70055eff28b5dde8d7f95e02927a9dc13b3ef3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e037d30cb9bca6d22a03ecbe70055eff28b5dde8d7f95e02927a9dc13b3ef3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e037d30cb9bca6d22a03ecbe70055eff28b5dde8d7f95e02927a9dc13b3ef3cf", kill_on_drop: false }` [INFO] [stdout] e037d30cb9bca6d22a03ecbe70055eff28b5dde8d7f95e02927a9dc13b3ef3cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9b6dd23e6cecad54e9bde77f1758864ee2a6777841e3bdf78d5d8bc82cc04a [INFO] running `Command { std: "docker" "start" "-a" "ca9b6dd23e6cecad54e9bde77f1758864ee2a6777841e3bdf78d5d8bc82cc04a", 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 memchr v2.4.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling postgres-protocol v0.5.3 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling postgres-types v0.1.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.1.5 [INFO] [stderr] Compiling tokio-pg-mapper v0.1.8 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling deadpool v0.5.2 [INFO] [stderr] Compiling deadpool-postgres v0.5.6 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling todo-actix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/db.rs:47:81 [INFO] [stdout] | [INFO] [stdout] 47 | .ok_or(io::Error::new(io::ErrorKing::Other, "Error creating todo list")) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 48 | [INFO] [stdout] 49 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ErrorKing` in `io` [INFO] [stdout] --> src/db.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | .ok_or(io::Error::new(io::ErrorKing::Other, "Error creating todo list")) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `ErrorKing` in `io` [INFO] [stdout] | help: an enum with a similar name exists: `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/db.rs:36:89 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn create_todo(client: &Client, title: String) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | let statement = client.prepare("insert into todo_list (titlte) values ($1) returning id, title").await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `todos` [INFO] [stdout] | [INFO] [stdout] 47 ~ .ok_or(io::Error::new(io::ErrorKing::Other, "Error creating todo list")) [INFO] [stdout] 48 + todos [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-actix` (bin "todo-actix") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ca9b6dd23e6cecad54e9bde77f1758864ee2a6777841e3bdf78d5d8bc82cc04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9b6dd23e6cecad54e9bde77f1758864ee2a6777841e3bdf78d5d8bc82cc04a", kill_on_drop: false }` [INFO] [stdout] ca9b6dd23e6cecad54e9bde77f1758864ee2a6777841e3bdf78d5d8bc82cc04a