[INFO] cloning repository https://github.com/flada-auxv/todobackend-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flada-auxv/todobackend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6262234d4c3f7f0b8fa6c159a3de9ea4b092d5b3 [INFO] checking flada-auxv/todobackend-rust against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flada-auxv/todobackend-rust on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flada-auxv/todobackend-rust [INFO] finished tweaking git repo https://github.com/flada-auxv/todobackend-rust [INFO] tweaked toml for git repo https://github.com/flada-auxv/todobackend-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/flada-auxv/todobackend-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded postgres v0.17.5 [INFO] [stderr] Downloaded postgres-types v0.1.2 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded r2d2_postgres v0.16.0 [INFO] [stderr] Downloaded postgres-protocol v0.5.2 [INFO] [stderr] Downloaded tokio-postgres v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 578714d1e19a2e24e366d41ddb263dc8be5597c7b7ee369f08b4923e253f3a55 [INFO] running `Command { std: "docker" "start" "-a" "578714d1e19a2e24e366d41ddb263dc8be5597c7b7ee369f08b4923e253f3a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "578714d1e19a2e24e366d41ddb263dc8be5597c7b7ee369f08b4923e253f3a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578714d1e19a2e24e366d41ddb263dc8be5597c7b7ee369f08b4923e253f3a55", kill_on_drop: false }` [INFO] [stdout] 578714d1e19a2e24e366d41ddb263dc8be5597c7b7ee369f08b4923e253f3a55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc11c531bc4d5ef017d19ec399d86b4cabf812894532193b1f13536d3023c0e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fc11c531bc4d5ef017d19ec399d86b4cabf812894532193b1f13536d3023c0e8", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking postgres-protocol v0.5.2 [INFO] [stderr] Checking postgres-types v0.1.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-postgres v0.5.5 [INFO] [stderr] Checking postgres v0.17.5 [INFO] [stderr] Checking r2d2_postgres v0.16.0 [INFO] [stderr] Checking todo-backend-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `SslMode` in `postgres` [INFO] [stdout] --> src/main.rs:45:93 [INFO] [stdout] | [INFO] [stdout] 45 | ...nectionManager::new(url.as_ref(), postgres::SslMode::None).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^^^ could not find `SslMode` in `postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rows` in `postgres` [INFO] [stdout] --> src/main.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn new(row: postgres::rows::Row) -> Todo { [INFO] [stdout] | ^^^^ could not find `rows` in `postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:29:65 [INFO] [stdout] | [INFO] [stdout] 29 | res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use headers::UniCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:29:101 [INFO] [stdout] | [INFO] [stdout] 29 | res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use headers::UniCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Config` is private [INFO] [stdout] --> src/main.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let config = r2d2::Config::default(); [INFO] [stdout] | ^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Config` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.9/src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(Response::with((status::Ok))) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | type Pool = r2d2::Pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | type PooledConnection = r2d2::PooledConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0423, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-backend-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `SslMode` in `postgres` [INFO] [stdout] --> src/main.rs:45:93 [INFO] [stdout] | [INFO] [stdout] 45 | ...nectionManager::new(url.as_ref(), postgres::SslMode::None).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^^^ could not find `SslMode` in `postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rows` in `postgres` [INFO] [stdout] --> src/main.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn new(row: postgres::rows::Row) -> Todo { [INFO] [stdout] | ^^^^ could not find `rows` in `postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:29:65 [INFO] [stdout] | [INFO] [stdout] 29 | res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use headers::UniCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:29:101 [INFO] [stdout] | [INFO] [stdout] 29 | res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use headers::UniCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Config` is private [INFO] [stdout] --> src/main.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let config = r2d2::Config::default(); [INFO] [stdout] | ^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Config` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.9/src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(Response::with((status::Ok))) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | type Pool = r2d2::Pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | type PooledConnection = r2d2::PooledConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0423, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fc11c531bc4d5ef017d19ec399d86b4cabf812894532193b1f13536d3023c0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc11c531bc4d5ef017d19ec399d86b4cabf812894532193b1f13536d3023c0e8", kill_on_drop: false }` [INFO] [stdout] fc11c531bc4d5ef017d19ec399d86b4cabf812894532193b1f13536d3023c0e8