[INFO] fetching crate voice 0.1.4... [INFO] checking voice-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate voice 0.1.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate voice 0.1.4 [INFO] finished tweaking crates.io crate voice 0.1.4 [INFO] tweaked toml for crates.io crate voice 0.1.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate voice 0.1.4 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.45) [INFO] [stderr] Adding error-chain v0.5.0 (available: v0.12.4) [INFO] [stderr] Adding notify v3.0.1 (available: v8.2.0) [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.8.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fsevent v0.2.17 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded mpv v0.2.3 [INFO] [stderr] Downloaded notify v3.0.1 [INFO] [stderr] Downloaded filetime v0.1.15 [INFO] [stderr] Downloaded eudex v0.1.1 [INFO] [stderr] Downloaded fsevent-sys v0.1.6 [INFO] [stderr] Downloaded inotify v0.2.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 875d662eebf5aaf65bda64013dd2d81f1d58560d8be07871d02619087f3e0bd2 [INFO] running `Command { std: "docker" "start" "-a" "875d662eebf5aaf65bda64013dd2d81f1d58560d8be07871d02619087f3e0bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "875d662eebf5aaf65bda64013dd2d81f1d58560d8be07871d02619087f3e0bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875d662eebf5aaf65bda64013dd2d81f1d58560d8be07871d02619087f3e0bd2", kill_on_drop: false }` [INFO] [stdout] 875d662eebf5aaf65bda64013dd2d81f1d58560d8be07871d02619087f3e0bd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 891acdba04cadde93c35bfc39e38014d5a6d8c74d7c9ec60a5438cedd63098e1 [INFO] running `Command { std: "docker" "start" "-a" "891acdba04cadde93c35bfc39e38014d5a6d8c74d7c9ec60a5438cedd63098e1", 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] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking eudex v0.1.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking inotify v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking notify v3.0.1 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking mpv v0.2.3 [INFO] [stderr] Checking voice v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/lib.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `fat_ptr_transmutes` has been removed: was accidentally removed back in 2014 [INFO] [stdout] --> src/lib.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern crate rustc_serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unused [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | #![warn(trivial_casts, trivial_numeric_casts, unused_extern_crates, unused_import_braces, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unused `extern crate` [INFO] [stdout] | [INFO] [stdout] 53 - extern crate rustc_serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let home = try!(get_config_file()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | #![deny(deprecated, improper_ctypes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut f = try!(File::open(home).chain_err(|| "Could not read config file")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let _ = try!(f.read_to_string(&mut s).chain_err(|| "could not read config file content")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(fs::create_dir_all(&root).chain_err(|| "Could not create directories for config")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let r = try!(File::create(&root.join("voice.toml")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/config.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | match toml::decode_str(&mut s) { [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 71 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `voice` (lib) due to 8 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/config.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/lib.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `fat_ptr_transmutes` has been removed: was accidentally removed back in 2014 [INFO] [stdout] --> src/lib.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern crate rustc_serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unused [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | #![warn(trivial_casts, trivial_numeric_casts, unused_extern_crates, unused_import_braces, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unused `extern crate` [INFO] [stdout] | [INFO] [stdout] 53 - extern crate rustc_serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let home = try!(get_config_file()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | #![deny(deprecated, improper_ctypes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut f = try!(File::open(home).chain_err(|| "Could not read config file")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let _ = try!(f.read_to_string(&mut s).chain_err(|| "could not read config file content")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(fs::create_dir_all(&root).chain_err(|| "Could not create directories for config")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let r = try!(File::create(&root.join("voice.toml")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/config.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | match toml::decode_str(&mut s) { [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 71 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `voice` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "891acdba04cadde93c35bfc39e38014d5a6d8c74d7c9ec60a5438cedd63098e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891acdba04cadde93c35bfc39e38014d5a6d8c74d7c9ec60a5438cedd63098e1", kill_on_drop: false }` [INFO] [stdout] 891acdba04cadde93c35bfc39e38014d5a6d8c74d7c9ec60a5438cedd63098e1