[INFO] fetching crate haxonite 0.1.0... [INFO] checking haxonite-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate haxonite 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate haxonite 0.1.0 [INFO] finished tweaking crates.io crate haxonite 0.1.0 [INFO] tweaked toml for crates.io crate haxonite 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate haxonite 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.45) [INFO] [stderr] Adding iron v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding logger v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding mount v0.2.1 (available: v0.4.0) [INFO] [stderr] Adding router v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding rustache v0.0.4 (available: v0.1.0) [INFO] [stderr] Adding simplelog v0.4.4 (available: v0.12.2) [INFO] [stderr] Adding staticfile v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding toml v0.2.1 (available: v0.9.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error v0.1.9 [INFO] [stderr] Downloaded mount v0.2.1 [INFO] [stderr] Downloaded staticfile v0.3.1 [INFO] [stderr] Downloaded router v0.4.0 [INFO] [stderr] Downloaded simplelog v0.4.4 [INFO] [stderr] Downloaded iron v0.4.0 [INFO] [stderr] Downloaded sequence_trie v0.0.13 [INFO] [stderr] Downloaded logger v0.2.0 [INFO] [stderr] Downloaded random_choice v0.3.2 [INFO] [stderr] Downloaded rustache v0.0.4 [INFO] [stderr] Downloaded conduit-mime-types v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6df821fc3b72c5c3d77968c2775db0a77f905c713653b450f8a330e443cfb070 [INFO] running `Command { std: "docker" "start" "-a" "6df821fc3b72c5c3d77968c2775db0a77f905c713653b450f8a330e443cfb070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6df821fc3b72c5c3d77968c2775db0a77f905c713653b450f8a330e443cfb070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df821fc3b72c5c3d77968c2775db0a77f905c713653b450f8a330e443cfb070", kill_on_drop: false }` [INFO] [stdout] 6df821fc3b72c5c3d77968c2775db0a77f905c713653b450f8a330e443cfb070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 658f6e4fe7133576961fc970e18d6ca29765ab955d2cf30d5305ba113c01c94d [INFO] running `Command { std: "docker" "start" "-a" "658f6e4fe7133576961fc970e18d6ca29765ab955d2cf30d5305ba113c01c94d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking sequence_trie v0.0.13 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking simplelog v0.4.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking random_choice v0.3.2 [INFO] [stderr] Checking rustache v0.0.4 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking mount v0.2.1 [INFO] [stderr] Checking logger v0.2.0 [INFO] [stderr] Checking router v0.4.0 [INFO] [stderr] Checking staticfile v0.3.1 [INFO] [stderr] Checking haxonite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | try!(fs::create_dir_all(Path::new(project_name).join("responses"))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(fs::create_dir_all(Path::new(project_name).join("assets"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | try!(config_toml.write_all(config_toml_content(generate_full_project))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(haxonite_json.write_all(LIMONITE_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(try!(File::create(Path::new(project_name).join("assets").join("haxonite.png"))).write_all(LIMONITE_LOGO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let mut config_toml = try!(File::create(Path::new(project_name).join("config.toml"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut haxonite_json = try!(File::create(Path::new(project_name).join("responses").join("haxonite.json"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | try!(try!(File::create(Path::new(project_name).join("assets").join("haxonite.png"))).write_all(LIMONITE_LOGO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(try!(File::create(Path::new(project_name).join("responses").join("resources.json"))).write_all(RESOURCES_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(try!(File::create(Path::new(project_name).join("responses").join("resource.json"))).write_all(RESOURCE_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.404.json"))).write_all(ERROR_404_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.500.json"))).write_all(ERROR_500_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | try!(try!(File::create(Path::new(project_name).join("responses").join("resources.json"))).write_all(RESOURCES_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | try!(try!(File::create(Path::new(project_name).join("responses").join("resource.json"))).write_all(RESOURCE_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.404.json"))).write_all(ERROR_404_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.500.json"))).write_all(ERROR_500_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(utils::create_new_project(project_name, generate_full_project)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let config_content = try!(config::read_config(config_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(process_config_requests(&requests, &mut mount, &mut router)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | try!(define_route(request_name.clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let response_config = try!(response_configs.first() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | Box::new(try!(get_single_response_handler(request_name.clone(), response_config.clone()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... try!(get_single_response_handler(request_name.clone(), response_config.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | handler.add_handler(try!(get_single_response_handler(request_name.clone(), response_config.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | handler.add_handler(try!(get_single_response_handler(request_name.clone(), response_config.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | let response_config = try!(response_configs.first() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `ResponseConfig` in the current scope [INFO] [stdout] --> src/config.rs:38:74 [INFO] [stdout] | [INFO] [stdout] 38 | |d| d.read_to_vec(|d| ResponseConfig::decode(d))) [INFO] [stdout] | ^^^^^^ function or associated item not found in `ResponseConfig` [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct ResponseConfig { [INFO] [stdout] | ------------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:106:92 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => return Err(io::Error::new(err.kind(), format!("{}: {}", file_name, err.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:110:92 [INFO] [stdout] | [INFO] [stdout] 110 | Err(err) => return Err(io::Error::new(err.kind(), format!("{}: {}", file_name, err.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | HaxoniteError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let config: Config = toml::decode_str(config_content.as_ref()).unwrap(); // TODO: remove unwrap to handle malformed config [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `config::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 72 others [INFO] [stdout] note: required by a bound in `decode_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.2.1/src/decoder/mod.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn decode_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let handler: Box = match type_.as_ref() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | let handler: Box = match type_.as_ref() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | try!(fs::create_dir_all(Path::new(project_name).join("responses"))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(fs::create_dir_all(Path::new(project_name).join("assets"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | try!(config_toml.write_all(config_toml_content(generate_full_project))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(haxonite_json.write_all(LIMONITE_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(try!(File::create(Path::new(project_name).join("assets").join("haxonite.png"))).write_all(LIMONITE_LOGO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let mut config_toml = try!(File::create(Path::new(project_name).join("config.toml"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut haxonite_json = try!(File::create(Path::new(project_name).join("responses").join("haxonite.json"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | try!(try!(File::create(Path::new(project_name).join("assets").join("haxonite.png"))).write_all(LIMONITE_LOGO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(try!(File::create(Path::new(project_name).join("responses").join("resources.json"))).write_all(RESOURCES_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(try!(File::create(Path::new(project_name).join("responses").join("resource.json"))).write_all(RESOURCE_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.404.json"))).write_all(ERROR_404_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.500.json"))).write_all(ERROR_500_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | try!(try!(File::create(Path::new(project_name).join("responses").join("resources.json"))).write_all(RESOURCES_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | try!(try!(File::create(Path::new(project_name).join("responses").join("resource.json"))).write_all(RESOURCE_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.404.json"))).write_all(ERROR_404_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | try!(try!(File::create(Path::new(project_name).join("responses").join("error.500.json"))).write_all(ERROR_500_JSON.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(utils::create_new_project(project_name, generate_full_project)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let config_content = try!(config::read_config(config_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(process_config_requests(&requests, &mut mount, &mut router)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | try!(define_route(request_name.clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let response_config = try!(response_configs.first() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | Box::new(try!(get_single_response_handler(request_name.clone(), response_config.clone()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... try!(get_single_response_handler(request_name.clone(), response_config.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | handler.add_handler(try!(get_single_response_handler(request_name.clone(), response_config.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | handler.add_handler(try!(get_single_response_handler(request_name.clone(), response_config.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | let response_config = try!(response_configs.first() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `haxonite` (bin "haxonite") due to 5 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `ResponseConfig` in the current scope [INFO] [stdout] --> src/config.rs:38:74 [INFO] [stdout] | [INFO] [stdout] 38 | |d| d.read_to_vec(|d| ResponseConfig::decode(d))) [INFO] [stdout] | ^^^^^^ function or associated item not found in `ResponseConfig` [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct ResponseConfig { [INFO] [stdout] | ------------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:106:92 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => return Err(io::Error::new(err.kind(), format!("{}: {}", file_name, err.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:110:92 [INFO] [stdout] | [INFO] [stdout] 110 | Err(err) => return Err(io::Error::new(err.kind(), format!("{}: {}", file_name, err.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | HaxoniteError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let config: Config = toml::decode_str(config_content.as_ref()).unwrap(); // TODO: remove unwrap to handle malformed config [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `config::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 72 others [INFO] [stdout] note: required by a bound in `decode_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.2.1/src/decoder/mod.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn decode_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let handler: Box = match type_.as_ref() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | let handler: Box = match type_.as_ref() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `haxonite` (bin "haxonite" test) due to 5 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "658f6e4fe7133576961fc970e18d6ca29765ab955d2cf30d5305ba113c01c94d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658f6e4fe7133576961fc970e18d6ca29765ab955d2cf30d5305ba113c01c94d", kill_on_drop: false }` [INFO] [stdout] 658f6e4fe7133576961fc970e18d6ca29765ab955d2cf30d5305ba113c01c94d