[INFO] cloning repository https://github.com/SEQUOIIA/ssh-notify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SEQUOIIA/ssh-notify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSEQUOIIA%2Fssh-notify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSEQUOIIA%2Fssh-notify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d83933c105e18ac443ac851345b63371957ac223 [INFO] checking SEQUOIIA/ssh-notify against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSEQUOIIA%2Fssh-notify" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SEQUOIIA/ssh-notify on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SEQUOIIA/ssh-notify [INFO] finished tweaking git repo https://github.com/SEQUOIIA/ssh-notify [INFO] tweaked toml for git repo https://github.com/SEQUOIIA/ssh-notify written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/SEQUOIIA/ssh-notify already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-sync v0.1.3 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded lettre_email v0.9.2 [INFO] [stderr] Downloaded http v0.1.16 [INFO] [stderr] Downloaded ipnet v2.0.0 [INFO] [stderr] Downloaded uuid v0.7.2 [INFO] [stderr] Downloaded lettre v0.9.2 [INFO] [stderr] Downloaded nom v4.2.2 [INFO] [stderr] Downloaded log4rs-syslog v3.0.3 [INFO] [stderr] Downloaded reqwest v0.9.11 [INFO] [stderr] Downloaded log4rs v0.8.1 [INFO] [stderr] Downloaded hyper v0.12.25 [INFO] [stderr] Downloaded openssl v0.10.19 [INFO] [stderr] Downloaded openssl-sys v0.9.42 [INFO] [stderr] Downloaded tokio-current-thread v0.1.5 [INFO] [stderr] Downloaded tokio-threadpool v0.1.12 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded tokio v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e23a87fe176249db4fd782ae3b29fb6f59f8ce4dd52cdbacbcf4838392e22f8 [INFO] running `Command { std: "docker" "start" "-a" "6e23a87fe176249db4fd782ae3b29fb6f59f8ce4dd52cdbacbcf4838392e22f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e23a87fe176249db4fd782ae3b29fb6f59f8ce4dd52cdbacbcf4838392e22f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e23a87fe176249db4fd782ae3b29fb6f59f8ce4dd52cdbacbcf4838392e22f8", kill_on_drop: false }` [INFO] [stdout] 6e23a87fe176249db4fd782ae3b29fb6f59f8ce4dd52cdbacbcf4838392e22f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb26adc555dd861dd447ec19dbe8d074090952a23be7ebb4015797a5a496eaa4 [INFO] running `Command { std: "docker" "start" "-a" "bb26adc555dd861dd447ec19dbe8d074090952a23be7ebb4015797a5a496eaa4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] phf_shared v0.7.24 (as host dependency): unicase [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking ipnet v2.0.0 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking typemap v0.3.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 unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking nom v4.2.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking libflate v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking tokio-sync v0.1.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking tokio-current-thread v0.1.5 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking http v0.1.16 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking uuid v0.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking tokio-threadpool v0.1.12 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking h2 v0.1.16 [INFO] [stderr] Checking pretty_env_logger v0.3.0 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.16 [INFO] [stderr] Checking hyper v0.12.25 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.11 [INFO] [stderr] Checking log4rs v0.8.1 [INFO] [stderr] Checking lettre v0.9.2 [INFO] [stderr] Checking log4rs-syslog v3.0.3 [INFO] [stderr] Checking lettre_email v0.9.2 [INFO] [stderr] Checking ssh-notify v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/agent-bin.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/model.rs (1 fix) [INFO] [stderr] Fixed src/agent-bin.rs (1 fix) [INFO] [stderr] Fixed src/agent/discord.rs (1 fix) [INFO] [stderr] Fixed src/config.rs (3 fixes) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Discord` in this scope [INFO] [stdout] --> src/config.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | ... Agent::Discord(Discord {data: ConfigDiscord {webhook_url: Some("Wowza".to_owned())}}), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 | use crate::agent::Discord; [INFO] [stdout] | [INFO] [stdout] 68 | use crate::model::Agent::Discord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Email` in this scope [INFO] [stdout] --> src/config.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | ... Agent::Email(Email {data: ConfigEmail { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 | use crate::agent::Email; [INFO] [stdout] | [INFO] [stdout] 68 | use crate::model::Agent::Email; [INFO] [stdout] | [INFO] [stdout] 68 | use lettre_email::Email; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Agent` in this scope [INFO] [stdout] --> src/model.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let agent : Agent = Agent::Discord(Discord { data: super::super::config::ConfigDiscord {webhook_url: None} }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Agent` [INFO] [stdout] --> src/model.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let agent : Agent = Agent::Discord(Discord { data: super::super::config::ConfigDiscord {webhook_url: None} }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Discord` in this scope [INFO] [stdout] --> src/model.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | let agent : Agent = Agent::Discord(Discord { data: super::super::config::ConfigDiscord {webhook_url: None} }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::agent::Discord; [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Agent::Discord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let addr = Address::new("192.168.1.128".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let addr_bad = Address::new("192.168.2.48".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let v6addr = Address::new("fc00:1:2:3::1".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let v6addr_bad = Address::new("fc00:1:2:3613::1".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/agent-bin.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_exe` [INFO] [stdout] --> src/agent/email.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::env::current_exe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/agent-bin.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssh-notify` due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct is never constructed: `Address` [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Address(IpAddr); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(val : String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_whitelisted` [INFO] [stdout] --> src/model.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn is_whitelisted(&self, networks : &super::config::WhitelistedNetwork) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `socket_addr` [INFO] [stdout] --> src/model.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn socket_addr(&self) -> IpAddr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `socket_addr_as_ref` [INFO] [stdout] --> src/model.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn socket_addr_as_ref(&self) -> &IpAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Discord` in this scope [INFO] [stdout] --> src/config.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | ... Agent::Discord(Discord {data: ConfigDiscord {webhook_url: Some("Wowza".to_owned())}}), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 | use crate::agent::Discord; [INFO] [stdout] | [INFO] [stdout] 68 | use crate::model::Agent::Discord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Email` in this scope [INFO] [stdout] --> src/config.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | ... Agent::Email(Email {data: ConfigEmail { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 | use crate::agent::Email; [INFO] [stdout] | [INFO] [stdout] 68 | use crate::model::Agent::Email; [INFO] [stdout] | [INFO] [stdout] 68 | use lettre_email::Email; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Agent` in this scope [INFO] [stdout] --> src/model.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let agent : Agent = Agent::Discord(Discord { data: super::super::config::ConfigDiscord {webhook_url: None} }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Agent` [INFO] [stdout] --> src/model.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let agent : Agent = Agent::Discord(Discord { data: super::super::config::ConfigDiscord {webhook_url: None} }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Discord` in this scope [INFO] [stdout] --> src/model.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | let agent : Agent = Agent::Discord(Discord { data: super::super::config::ConfigDiscord {webhook_url: None} }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::agent::Discord; [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Agent::Discord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let addr = Address::new("192.168.1.128".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let addr_bad = Address::new("192.168.2.48".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let v6addr = Address::new("fc00:1:2:3::1".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/model.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let v6addr_bad = Address::new("fc00:1:2:3613::1".to_owned()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 119 | use crate::model::Address; [INFO] [stdout] | [INFO] [stdout] 119 | use lettre_email::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_exe` [INFO] [stdout] --> src/agent/email.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::env::current_exe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/model.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn send(&self, vars : Vars) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `socket_addr` [INFO] [stdout] --> src/model.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn socket_addr(&self) -> IpAddr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `socket_addr_as_ref` [INFO] [stdout] --> src/model.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn socket_addr_as_ref(&self) -> &IpAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bb26adc555dd861dd447ec19dbe8d074090952a23be7ebb4015797a5a496eaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb26adc555dd861dd447ec19dbe8d074090952a23be7ebb4015797a5a496eaa4", kill_on_drop: false }` [INFO] [stdout] bb26adc555dd861dd447ec19dbe8d074090952a23be7ebb4015797a5a496eaa4