[INFO] cloning repository https://github.com/williamhogman/eurydice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/williamhogman/eurydice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhogman%2Feurydice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhogman%2Feurydice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 397162545b1a216974d379b74cb0bbda8a0ba05f [INFO] checking williamhogman/eurydice against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhogman%2Feurydice" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/williamhogman/eurydice on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/williamhogman/eurydice [INFO] finished tweaking git repo https://github.com/williamhogman/eurydice [INFO] tweaked toml for git repo https://github.com/williamhogman/eurydice written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/williamhogman/eurydice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] cb69e455151fadac6f6b7a0d82cae523752c72de238588b3b6d154a9cbf67e88 [INFO] running `Command { std: "docker" "start" "-a" "cb69e455151fadac6f6b7a0d82cae523752c72de238588b3b6d154a9cbf67e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb69e455151fadac6f6b7a0d82cae523752c72de238588b3b6d154a9cbf67e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb69e455151fadac6f6b7a0d82cae523752c72de238588b3b6d154a9cbf67e88", kill_on_drop: false }` [INFO] [stdout] cb69e455151fadac6f6b7a0d82cae523752c72de238588b3b6d154a9cbf67e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5efe14d6c6de595235c9444b3cbfdf99c7c9de56891d6fc9d8d8c34ef12028f [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" "e5efe14d6c6de595235c9444b3cbfdf99c7c9de56891d6fc9d8d8c34ef12028f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking smallvec v0.6.12 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking rent_to_own v0.1.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rustc_version v0.2.3 [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] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking postgres-protocol v0.4.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_state_machine_future v0.2.0 [INFO] [stderr] Checking state_machine_future v0.2.0 [INFO] [stderr] Checking tokio-postgres v0.4.0-rc.3 [INFO] [stderr] Checking eurydice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found keyword `mut` [INFO] [stdout] --> src/main.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn query_to_file(client: mut tokion_postgres::Client, query: String, outfile: String) { [INFO] [stdout] | ^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `mut` [INFO] [stdout] --> src/main.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn query_to_file(client: mut tokion_postgres::Client, query: String, outfile: String) { [INFO] [stdout] | ^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pg_c` in this scope [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pg_c.map(|mut client| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pg_c` in this scope [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pg_c.map(|mut client| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `String` to `&str` [INFO] [stdout] --> src/main.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | client.prepare("COPY (" + query + ") TO STDOUT WITH CSV HEADER") [INFO] [stdout] | -------- ^ ----- String [INFO] [stdout] | | | [INFO] [stdout] | | `+` cannot be used to concatenate a `&str` with a `String` [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left [INFO] [stdout] | [INFO] [stdout] 41 | client.prepare("COPY (".to_owned() + &query + ") TO STDOUT WITH CSV HEADER") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `String` to `&str` [INFO] [stdout] --> src/main.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | client.prepare("COPY (" + query + ") TO STDOUT WITH CSV HEADER") [INFO] [stdout] | -------- ^ ----- String [INFO] [stdout] | | | [INFO] [stdout] | | `+` cannot be used to concatenate a `&str` with a `String` [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left [INFO] [stdout] | [INFO] [stdout] 41 | client.prepare("COPY (".to_owned() + &query + ") TO STDOUT WITH CSV HEADER") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | .map(move |b| file.poll_write(&b) ) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 48 | .map(move |&b| file.poll_write(&b) ) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | .map(move |b| file.poll_write(&b) ) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 48 | .map(move |&b| file.poll_write(&b) ) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eurydice` [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: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e5efe14d6c6de595235c9444b3cbfdf99c7c9de56891d6fc9d8d8c34ef12028f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5efe14d6c6de595235c9444b3cbfdf99c7c9de56891d6fc9d8d8c34ef12028f", kill_on_drop: false }` [INFO] [stdout] e5efe14d6c6de595235c9444b3cbfdf99c7c9de56891d6fc9d8d8c34ef12028f