[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhogman%2Feurydice" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/williamhogman/eurydice on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-6/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 093ee1c6d03cb1a5aa50ef567b30475823a38701918a144a46d9ee5adb76dae5 [INFO] running `Command { std: "docker" "start" "-a" "093ee1c6d03cb1a5aa50ef567b30475823a38701918a144a46d9ee5adb76dae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "093ee1c6d03cb1a5aa50ef567b30475823a38701918a144a46d9ee5adb76dae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093ee1c6d03cb1a5aa50ef567b30475823a38701918a144a46d9ee5adb76dae5", kill_on_drop: false }` [INFO] [stdout] 093ee1c6d03cb1a5aa50ef567b30475823a38701918a144a46d9ee5adb76dae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 2575f78a881a84fd0c1b57f98c96afe69fd9e3e6deb4cc0f634a24343fb2be84 [INFO] running `Command { std: "docker" "start" "-a" "2575f78a881a84fd0c1b57f98c96afe69fd9e3e6deb4cc0f634a24343fb2be84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking smallvec v0.6.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Checking rent_to_own v0.1.0 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.2 [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 tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [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 futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [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 stringprep v0.1.2 [INFO] [stderr] Checking postgres-protocol v0.4.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [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 locals 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 locals 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" "2575f78a881a84fd0c1b57f98c96afe69fd9e3e6deb4cc0f634a24343fb2be84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2575f78a881a84fd0c1b57f98c96afe69fd9e3e6deb4cc0f634a24343fb2be84", kill_on_drop: false }` [INFO] [stdout] 2575f78a881a84fd0c1b57f98c96afe69fd9e3e6deb4cc0f634a24343fb2be84