[INFO] cloning repository https://github.com/andrewcameronsims/gday [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewcameronsims/gday" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewcameronsims%2Fgday", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewcameronsims%2Fgday'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 755f4224b64f571170f5405ee473524f2a94bd71 [INFO] checking andrewcameronsims/gday against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewcameronsims%2Fgday" "/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/andrewcameronsims/gday on toolchain a874956d940ecb3ed524b6176a171219ac4787ea [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrewcameronsims/gday [INFO] finished tweaking git repo https://github.com/andrewcameronsims/gday [INFO] tweaked toml for git repo https://github.com/andrewcameronsims/gday written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/andrewcameronsims/gday already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4adbf6fca690414b0734762c4db065e6ebcc9f673a1c4d502ae9b23672b750ab [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" "4adbf6fca690414b0734762c4db065e6ebcc9f673a1c4d502ae9b23672b750ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4adbf6fca690414b0734762c4db065e6ebcc9f673a1c4d502ae9b23672b750ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adbf6fca690414b0734762c4db065e6ebcc9f673a1c4d502ae9b23672b750ab", kill_on_drop: false }` [INFO] [stdout] 4adbf6fca690414b0734762c4db065e6ebcc9f673a1c4d502ae9b23672b750ab [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd2ba0b533a0abf88c97abda7f03841ea8c56a06bd8bcc07b6b9d5600d81bc44 [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" "cd2ba0b533a0abf88c97abda7f03841ea8c56a06bd8bcc07b6b9d5600d81bc44", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking twilio v0.1.3 [INFO] [stderr] Checking envoy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `send_message` [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let config = Config::new("~/.envoycfg.toml") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 37 | send_message(config, destination_number, message); [INFO] [stdout] | ------------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `send_message` [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let config = Config::new("~/.envoycfg.toml") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 37 | send_message(config, destination_number, message); [INFO] [stdout] | ------------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::Config; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::config` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `twilio::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/config.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/config.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::Config; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::config` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `twilio::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/config.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/config.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/config.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | config::save(filepath); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/config.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(filepath: &str) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::path::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::toml::spanned::de::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::toml::spanned::ser::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `path::Path` [INFO] [stdout] --> src/config.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let path = path::Path.new(filepath); [INFO] [stdout] | ^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `path::Path::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> src/client.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn send_message(config: Config, dest: &str, msg: &str) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let config = Config::new("~/.envoycfg.toml") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/config.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | config::save(filepath); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_message` in this scope [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | send_message(config, destination_number, message); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::client::client::send_message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, fs, io, path}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twilio` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use twilio; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy` [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[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/config.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(filepath: &str) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::path::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::toml::spanned::de::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::toml::spanned::ser::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `path::Path` [INFO] [stdout] --> src/config.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let path = path::Path.new(filepath); [INFO] [stdout] | ^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `path::Path::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> src/client.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn send_message(config: Config, dest: &str, msg: &str) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let config = Config::new("~/.envoycfg.toml") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_message` in this scope [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | send_message(config, destination_number, message); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::client::client::send_message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, fs, io, path}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twilio` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use twilio; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cd2ba0b533a0abf88c97abda7f03841ea8c56a06bd8bcc07b6b9d5600d81bc44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2ba0b533a0abf88c97abda7f03841ea8c56a06bd8bcc07b6b9d5600d81bc44", kill_on_drop: false }` [INFO] [stdout] cd2ba0b533a0abf88c97abda7f03841ea8c56a06bd8bcc07b6b9d5600d81bc44