[INFO] fetching crate log4rs-rolling-file 0.2.0... [INFO] testing log4rs-rolling-file-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate log4rs-rolling-file 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate log4rs-rolling-file 0.2.0 [INFO] finished tweaking crates.io crate log4rs-rolling-file 0.2.0 [INFO] tweaked toml for crates.io crate log4rs-rolling-file 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate log4rs-rolling-file 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 41 packages to latest compatible versions [INFO] [stderr] Adding flate2 v0.2.20 (available: v1.1.2) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding log4rs v0.4.8 (available: v1.3.0) [INFO] [stderr] Adding serde v0.7.15 (available: v1.0.219) [INFO] [stderr] Adding serde-value v0.2.1 (available: v0.7.0) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 serde_yaml v0.2.5 [INFO] [stderr] Downloaded ordered-float v0.1.0 [INFO] [stderr] Downloaded log4rs v0.4.8 [INFO] [stderr] Downloaded serde-value v0.2.1 [INFO] [stderr] Downloaded humantime v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92237a6898e751ddcfd765e6e1cdf85b0872b15fe0a5f9b4955c670eb5c6fa04 [INFO] running `Command { std: "docker" "start" "-a" "92237a6898e751ddcfd765e6e1cdf85b0872b15fe0a5f9b4955c670eb5c6fa04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92237a6898e751ddcfd765e6e1cdf85b0872b15fe0a5f9b4955c670eb5c6fa04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92237a6898e751ddcfd765e6e1cdf85b0872b15fe0a5f9b4955c670eb5c6fa04", kill_on_drop: false }` [INFO] [stdout] 92237a6898e751ddcfd765e6e1cdf85b0872b15fe0a5f9b4955c670eb5c6fa04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1e1d1e8193b9025974a37c5e0022e8b5cdb1c526c5e3e00f94fe53e04216662e [INFO] running `Command { std: "docker" "start" "-a" "1e1d1e8193b9025974a37c5e0022e8b5cdb1c526c5e3e00f94fe53e04216662e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v0.1.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_yaml v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling ordered-float v0.1.0 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling serde-value v0.2.1 [INFO] [stderr] Compiling log4rs v0.4.8 [INFO] [stderr] Compiling log4rs-rolling-file v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | ... try!(visitor . end ( )); [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/policy/compound/config.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | ... match try!(visitor . visit :: < Trigger > [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | ... match try!(visitor . visit :: < Roller > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:141:54 [INFO] [stdout] | [INFO] [stdout] 141 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:151:54 [INFO] [stdout] | [INFO] [stdout] 151 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | ... { try!(visitor . end ( )); Ok(Config{}) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let _: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | ... match try!(visitor . visit :: < String > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | ... match try!(visitor . visit :: < u32 > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:179:41 [INFO] [stdout] | [INFO] [stdout] 179 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | ... try!(visitor . missing_field ( "base" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:193:41 [INFO] [stdout] | [INFO] [stdout] 193 | ... try!(visitor . missing_field ( "count" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(move_file(&src, &dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | Ok(Box::new(try!(builder.build(&config.pattern, config.count)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | ... try!(deserialize_limit [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:139:43 [INFO] [stdout] | [INFO] [stdout] 139 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stdout] | [INFO] [stdout] 148 | ... Some(({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 180 | ... })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 ~ Some({ [INFO] [stdout] 149 | struct __SerdeDeserializeWithStruct { [INFO] [stdout] ... [INFO] [stdout] 179 | > ( )).value [INFO] [stdout] 180 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:165:71 [INFO] [stdout] | [INFO] [stdout] 165 | ... try!(deserialize_limit [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:175:59 [INFO] [stdout] | [INFO] [stdout] 175 | ... try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if try!(self.trigger.trigger(log)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(self.roller.roll(log.path())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(deserializers.deserialize("trigger", &config.trigger.kind, config.trigger.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(deserializers.deserialize("roller", &config.roller.kind, config.roller.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | ... match try!(visitor . visit :: < String > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:135:45 [INFO] [stdout] | [INFO] [stdout] 135 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | ... match try!(visitor . visit :: < Policy > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:185:54 [INFO] [stdout] | [INFO] [stdout] 185 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:196:54 [INFO] [stdout] | [INFO] [stdout] 196 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | ... try!(visitor . missing_field ( "path" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:225:41 [INFO] [stdout] | [INFO] [stdout] 225 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | let file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.path.metadata()).len() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | try!(self.encoder.encode(writer, record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | try!(writer.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | let encoder = try!(deserializers.deserialize("encoder", &encoder.kind, encoder.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(deserializers.deserialize("policy", &config.policy.kind, config.policy.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | trigger: Box, [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] 24 | trigger: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | roller: Box, [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] 25 | roller: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | encoder: Box, [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] 138 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | policy: Box, [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] 139 | policy: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | encoder: Option>, [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] 210 | encoder: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/mod.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [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] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/mod.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | fn trigger(&self, file: &LogFile) -> Result>; [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] 13 | fn trigger(&self, file: &LogFile) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [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] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [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] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [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] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = Roll; [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] 42 | type Trait = dyn Roll; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:44:86 [INFO] [stdout] | [INFO] [stdout] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [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] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | type Trait = Roll; [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] 203 | type Trait = dyn Roll; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:205:75 [INFO] [stdout] | [INFO] [stdout] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:205:86 [INFO] [stdout] | [INFO] [stdout] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:29:59 [INFO] [stdout] | [INFO] [stdout] 29 | fn trigger(&self, file: &LogFile) -> Result> { [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] 29 | fn trigger(&self, file: &LogFile) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | type Trait = Trigger; [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] 49 | type Trait = dyn Trigger; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:51:75 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:51:89 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [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] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | type Trait = Policy; [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] 77 | type Trait = dyn Policy; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | -> Result, Box> { [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] 82 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | -> Result, Box> { [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] 82 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [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] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | type Trait = Append; [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] 280 | type Trait = dyn Append; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | -> Result, Box> { [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] 285 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:285:47 [INFO] [stdout] | [INFO] [stdout] 285 | -> Result, Box> { [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] 285 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:157:84 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [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] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [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] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [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] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:225:43 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [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] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 14 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 8 | impl _serde::de::Deserialize for Config { [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 11 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 12 | impl _serde::de::Deserialize for Config { [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 17 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1e1d1e8193b9025974a37c5e0022e8b5cdb1c526c5e3e00f94fe53e04216662e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1d1e8193b9025974a37c5e0022e8b5cdb1c526c5e3e00f94fe53e04216662e", kill_on_drop: false }` [INFO] [stdout] 1e1d1e8193b9025974a37c5e0022e8b5cdb1c526c5e3e00f94fe53e04216662e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bd8a6e8ddd50ee65b798d709dd4a864712737c6f76098a8e70039c9dc8d6c446 [INFO] running `Command { std: "docker" "start" "-a" "bd8a6e8ddd50ee65b798d709dd4a864712737c6f76098a8e70039c9dc8d6c446", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | ... try!(visitor . end ( )); [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/policy/compound/config.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | ... match try!(visitor . visit :: < Trigger > [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | ... match try!(visitor . visit :: < Roller > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:141:54 [INFO] [stdout] | [INFO] [stdout] 141 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:151:54 [INFO] [stdout] | [INFO] [stdout] 151 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | ... { try!(visitor . end ( )); Ok(Config{}) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let _: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | ... match try!(visitor . visit :: < String > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | ... match try!(visitor . visit :: < u32 > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:179:41 [INFO] [stdout] | [INFO] [stdout] 179 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | ... try!(visitor . missing_field ( "base" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:193:41 [INFO] [stdout] | [INFO] [stdout] 193 | ... try!(visitor . missing_field ( "count" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(move_file(&src, &dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | Ok(Box::new(try!(builder.build(&config.pattern, config.count)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | ... try!(deserialize_limit [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:139:43 [INFO] [stdout] | [INFO] [stdout] 139 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stdout] | [INFO] [stdout] 148 | ... Some(({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 180 | ... })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 ~ Some({ [INFO] [stdout] 149 | struct __SerdeDeserializeWithStruct { [INFO] [stdout] ... [INFO] [stdout] 179 | > ( )).value [INFO] [stdout] 180 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:165:71 [INFO] [stdout] | [INFO] [stdout] 165 | ... try!(deserialize_limit [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:175:59 [INFO] [stdout] | [INFO] [stdout] 175 | ... try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if try!(self.trigger.trigger(log)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(self.roller.roll(log.path())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(deserializers.deserialize("trigger", &config.trigger.kind, config.trigger.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(deserializers.deserialize("roller", &config.roller.kind, config.roller.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | ... match try!(visitor . visit :: < String > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:135:45 [INFO] [stdout] | [INFO] [stdout] 135 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | ... match try!(visitor . visit :: < Policy > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:185:54 [INFO] [stdout] | [INFO] [stdout] 185 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:196:54 [INFO] [stdout] | [INFO] [stdout] 196 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | ... try!(visitor . missing_field ( "path" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:225:41 [INFO] [stdout] | [INFO] [stdout] 225 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | let file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.path.metadata()).len() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | try!(self.encoder.encode(writer, record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | try!(writer.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | let encoder = try!(deserializers.deserialize("encoder", &encoder.kind, encoder.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(deserializers.deserialize("policy", &config.policy.kind, config.policy.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | trigger: Box, [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] 24 | trigger: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | roller: Box, [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] 25 | roller: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | encoder: Box, [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] 138 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | policy: Box, [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] 139 | policy: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | encoder: Option>, [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] 210 | encoder: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/mod.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [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] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/mod.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | fn trigger(&self, file: &LogFile) -> Result>; [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] 13 | fn trigger(&self, file: &LogFile) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [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] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [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] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [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] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = Roll; [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] 42 | type Trait = dyn Roll; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:44:86 [INFO] [stdout] | [INFO] [stdout] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [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] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | type Trait = Roll; [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] 203 | type Trait = dyn Roll; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:205:75 [INFO] [stdout] | [INFO] [stdout] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:205:86 [INFO] [stdout] | [INFO] [stdout] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:29:59 [INFO] [stdout] | [INFO] [stdout] 29 | fn trigger(&self, file: &LogFile) -> Result> { [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] 29 | fn trigger(&self, file: &LogFile) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | type Trait = Trigger; [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] 49 | type Trait = dyn Trigger; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:51:75 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:51:89 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [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] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | type Trait = Policy; [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] 77 | type Trait = dyn Policy; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | -> Result, Box> { [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] 82 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | -> Result, Box> { [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] 82 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [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] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | type Trait = Append; [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] 280 | type Trait = dyn Append; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | -> Result, Box> { [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] 285 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:285:47 [INFO] [stdout] | [INFO] [stdout] 285 | -> Result, Box> { [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] 285 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:157:84 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [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] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [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] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [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] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:225:43 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [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] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 14 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 8 | impl _serde::de::Deserialize for Config { [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 11 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 12 | impl _serde::de::Deserialize for Config { [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 17 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling log4rs-rolling-file v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | ... try!(visitor . end ( )); [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/policy/compound/config.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | ... match try!(visitor . visit :: < Trigger > [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | ... match try!(visitor . visit :: < Roller > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:141:54 [INFO] [stdout] | [INFO] [stdout] 141 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:151:54 [INFO] [stdout] | [INFO] [stdout] 151 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/config.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | ... { try!(visitor . end ( )); Ok(Config{}) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let _: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | ... match try!(visitor . visit :: < String > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | ... match try!(visitor . visit :: < u32 > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:179:41 [INFO] [stdout] | [INFO] [stdout] 179 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | ... try!(visitor . missing_field ( "base" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:193:41 [INFO] [stdout] | [INFO] [stdout] 193 | ... try!(visitor . missing_field ( "count" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(move_file(&src, &dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | Ok(Box::new(try!(builder.build(&config.pattern, config.count)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | ... try!(deserialize_limit [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:139:43 [INFO] [stdout] | [INFO] [stdout] 139 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stdout] | [INFO] [stdout] 148 | ... Some(({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 180 | ... })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 ~ Some({ [INFO] [stdout] 149 | struct __SerdeDeserializeWithStruct { [INFO] [stdout] ... [INFO] [stdout] 179 | > ( )).value [INFO] [stdout] 180 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:165:71 [INFO] [stdout] | [INFO] [stdout] 165 | ... try!(deserialize_limit [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:175:59 [INFO] [stdout] | [INFO] [stdout] 175 | ... try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if try!(self.trigger.trigger(log)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(self.roller.roll(log.path())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(deserializers.deserialize("trigger", &config.trigger.kind, config.trigger.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/policy/compound/mod.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(deserializers.deserialize("roller", &config.roller.kind, config.roller.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | ... match try!(visitor . visit :: < String > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | ... match try!(visitor . visit :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:135:45 [INFO] [stdout] | [INFO] [stdout] 135 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | ... match try!(visitor . visit :: < Policy > ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | ... try!(visitor . end ( )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | ... try!(visitor . visit_key :: < [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:185:54 [INFO] [stdout] | [INFO] [stdout] 185 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:196:54 [INFO] [stdout] | [INFO] [stdout] 196 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | ... Some(try!(visitor . [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | ... try!(visitor . missing_field ( "path" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:225:41 [INFO] [stdout] | [INFO] [stdout] 225 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | ... try!(visitor . missing_field ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(fs::create_dir_all(parent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | let file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.path.metadata()).len() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | try!(self.encoder.encode(writer, record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | try!(writer.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | let config: Config = try!(config.deserialize_into()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | let encoder = try!(deserializers.deserialize("encoder", &encoder.kind, encoder.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(deserializers.deserialize("policy", &config.policy.kind, config.policy.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | trigger: Box, [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] 24 | trigger: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | roller: Box, [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] 25 | roller: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | encoder: Box, [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] 138 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | policy: Box, [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] 139 | policy: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | encoder: Option>, [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] 210 | encoder: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/mod.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [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] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/mod.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | fn trigger(&self, file: &LogFile) -> Result>; [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] 13 | fn trigger(&self, file: &LogFile) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [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] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [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] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [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] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = Roll; [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] 42 | type Trait = dyn Roll; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/delete/mod.rs:44:86 [INFO] [stdout] | [INFO] [stdout] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [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] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | type Trait = Roll; [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] 203 | type Trait = dyn Roll; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:205:75 [INFO] [stdout] | [INFO] [stdout] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:205:86 [INFO] [stdout] | [INFO] [stdout] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:29:59 [INFO] [stdout] | [INFO] [stdout] 29 | fn trigger(&self, file: &LogFile) -> Result> { [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] 29 | fn trigger(&self, file: &LogFile) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | type Trait = Trigger; [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] 49 | type Trait = dyn Trigger; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:51:75 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/trigger/size/mod.rs:51:89 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [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] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [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] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | type Trait = Policy; [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] 77 | type Trait = dyn Policy; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | -> Result, Box> { [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] 82 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | -> Result, Box> { [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] 82 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [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] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | type Trait = Append; [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] 280 | type Trait = dyn Append; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | -> Result, Box> { [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] 285 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:285:47 [INFO] [stdout] | [INFO] [stdout] 285 | -> Result, Box> { [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] 285 | -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/roll/fixed_window/mod.rs:157:84 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [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] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [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] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/policy/compound/mod.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [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] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:225:43 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [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] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 14 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/roll/delete/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 8 | impl _serde::de::Deserialize for Config { [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/roll/fixed_window/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 11 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/policy/compound/trigger/size/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 12 | impl _serde::de::Deserialize for Config { [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 17 | impl _serde::de::Deserialize for Config where [INFO] [stdout] | ^^^^^-----------------------^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "bd8a6e8ddd50ee65b798d709dd4a864712737c6f76098a8e70039c9dc8d6c446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd8a6e8ddd50ee65b798d709dd4a864712737c6f76098a8e70039c9dc8d6c446", kill_on_drop: false }` [INFO] [stdout] bd8a6e8ddd50ee65b798d709dd4a864712737c6f76098a8e70039c9dc8d6c446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9b937c975ae1df354d047a5a477c835291699318e4ae59ba4cf19cdfae20a6c6 [INFO] running `Command { std: "docker" "start" "-a" "9b937c975ae1df354d047a5a477c835291699318e4ae59ba4cf19cdfae20a6c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:119:33 [INFO] [stderr] | [INFO] [stderr] 119 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:102:43 [INFO] [stderr] | [INFO] [stderr] 102 | ... match try!(visitor . visit :: < Trigger > [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:106:45 [INFO] [stderr] | [INFO] [stderr] 106 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:111:43 [INFO] [stderr] | [INFO] [stderr] 111 | ... match try!(visitor . visit :: < Roller > ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:115:45 [INFO] [stderr] | [INFO] [stderr] 115 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:157:33 [INFO] [stderr] | [INFO] [stderr] 157 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:132:43 [INFO] [stderr] | [INFO] [stderr] 132 | ... try!(visitor . visit_key :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:141:54 [INFO] [stderr] | [INFO] [stderr] 141 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:151:54 [INFO] [stderr] | [INFO] [stderr] 151 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | ... try!(visitor . missing_field ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:169:41 [INFO] [stderr] | [INFO] [stderr] 169 | ... try!(visitor . missing_field ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:197:17 [INFO] [stderr] | [INFO] [stderr] 197 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/config.rs:216:17 [INFO] [stderr] | [INFO] [stderr] 216 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:74:31 [INFO] [stderr] | [INFO] [stderr] 74 | ... { try!(visitor . end ( )); Ok(Config{}) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:86:33 [INFO] [stderr] | [INFO] [stderr] 86 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:82:43 [INFO] [stderr] | [INFO] [stderr] 82 | ... try!(visitor . visit_key :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | let _: Config = try!(config.deserialize_into()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:123:33 [INFO] [stderr] | [INFO] [stderr] 123 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:97:43 [INFO] [stderr] | [INFO] [stderr] 97 | ... match try!(visitor . visit :: < String > ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:101:45 [INFO] [stderr] | [INFO] [stderr] 101 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:106:43 [INFO] [stderr] | [INFO] [stderr] 106 | ... match try!(visitor . visit :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:110:45 [INFO] [stderr] | [INFO] [stderr] 110 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:115:43 [INFO] [stderr] | [INFO] [stderr] 115 | ... match try!(visitor . visit :: < u32 > ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:119:45 [INFO] [stderr] | [INFO] [stderr] 119 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:174:33 [INFO] [stderr] | [INFO] [stderr] 174 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:138:43 [INFO] [stderr] | [INFO] [stderr] 138 | ... try!(visitor . visit_key :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:147:54 [INFO] [stderr] | [INFO] [stderr] 147 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:157:54 [INFO] [stderr] | [INFO] [stderr] 157 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:168:54 [INFO] [stderr] | [INFO] [stderr] 168 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:179:41 [INFO] [stderr] | [INFO] [stderr] 179 | ... try!(visitor . missing_field ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:186:41 [INFO] [stderr] | [INFO] [stderr] 186 | ... try!(visitor . missing_field ( "base" [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:193:41 [INFO] [stderr] | [INFO] [stderr] 193 | ... try!(visitor . missing_field ( "count" [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | try!(fs::create_dir_all(parent)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(move_file(&src, &dst)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | try!(fs::create_dir_all(parent)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:206:30 [INFO] [stderr] | [INFO] [stderr] 206 | let config: Config = try!(config.deserialize_into()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:212:21 [INFO] [stderr] | [INFO] [stderr] 212 | Ok(Box::new(try!(builder.build(&config.pattern, config.count)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:128:33 [INFO] [stderr] | [INFO] [stderr] 128 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:109:59 [INFO] [stderr] | [INFO] [stderr] 109 | ... try!(deserialize_limit [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:117:47 [INFO] [stderr] | [INFO] [stderr] 117 | ... try!(visitor . visit :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:124:45 [INFO] [stderr] | [INFO] [stderr] 124 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:184:33 [INFO] [stderr] | [INFO] [stderr] 184 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:139:43 [INFO] [stderr] | [INFO] [stderr] 139 | ... try!(visitor . visit_key :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | ... Some(({ [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 180 | ... })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 148 ~ Some({ [INFO] [stderr] 149 | struct __SerdeDeserializeWithStruct { [INFO] [stderr] ... [INFO] [stderr] 179 | > ( )).value [INFO] [stderr] 180 ~ }); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:165:71 [INFO] [stderr] | [INFO] [stderr] 165 | ... try!(deserialize_limit [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:175:59 [INFO] [stderr] | [INFO] [stderr] 175 | ... try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | let config: Config = try!(config.deserialize_into()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/mod.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | if try!(self.trigger.trigger(log)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | try!(self.roller.roll(log.path())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/mod.rs:83:30 [INFO] [stderr] | [INFO] [stderr] 83 | let config: Config = try!(config.deserialize_into()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/mod.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | try!(deserializers.deserialize("trigger", &config.trigger.kind, config.trigger.config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/policy/compound/mod.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | try!(deserializers.deserialize("roller", &config.roller.kind, config.roller.config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:148:33 [INFO] [stderr] | [INFO] [stderr] 148 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:113:43 [INFO] [stderr] | [INFO] [stderr] 113 | ... match try!(visitor . visit :: < String > ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:117:45 [INFO] [stderr] | [INFO] [stderr] 117 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:122:43 [INFO] [stderr] | [INFO] [stderr] 122 | ... match try!(visitor . visit :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:126:45 [INFO] [stderr] | [INFO] [stderr] 126 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:131:43 [INFO] [stderr] | [INFO] [stderr] 131 | ... match try!(visitor . visit :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:135:45 [INFO] [stderr] | [INFO] [stderr] 135 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:140:43 [INFO] [stderr] | [INFO] [stderr] 140 | ... match try!(visitor . visit :: < Policy > ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:144:45 [INFO] [stderr] | [INFO] [stderr] 144 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:213:33 [INFO] [stderr] | [INFO] [stderr] 213 | ... try!(visitor . end ( )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:166:43 [INFO] [stderr] | [INFO] [stderr] 166 | ... try!(visitor . visit_key :: < [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:175:54 [INFO] [stderr] | [INFO] [stderr] 175 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:185:54 [INFO] [stderr] | [INFO] [stderr] 185 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:196:54 [INFO] [stderr] | [INFO] [stderr] 196 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:207:54 [INFO] [stderr] | [INFO] [stderr] 207 | ... Some(try!(visitor . [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:218:41 [INFO] [stderr] | [INFO] [stderr] 218 | ... try!(visitor . missing_field ( "path" [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:225:41 [INFO] [stderr] | [INFO] [stderr] 225 | ... try!(visitor . missing_field ( [INFO] [stdout] [INFO] [stderr] | ^^^ [INFO] [stdout] running 6 tests [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:232:41 [INFO] [stderr] | [INFO] [stderr] 232 | ... try!(visitor . missing_field ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:239:41 [INFO] [stderr] | [INFO] [stderr] 239 | ... try!(visitor . missing_field ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:265:13 [INFO] [stderr] | [INFO] [stderr] 265 | try!(BTreeMap :: < Value , Value > :: deserialize ( d )); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:269:17 [INFO] [stderr] | [INFO] [stderr] 269 | try!(kind . deserialize_into ( ) . map_err ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | try!(fs::create_dir_all(parent)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:162:24 [INFO] [stderr] | [INFO] [stderr] 162 | let file = try!(OpenOptions::new() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | try!(self.path.metadata()).len() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | try!(self.encoder.encode(writer, record)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | try!(writer.flush()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:286:30 [INFO] [stderr] | [INFO] [stderr] 286 | let config: Config = try!(config.deserialize_into()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:293:27 [INFO] [stderr] | [INFO] [stderr] 293 | let encoder = try!(deserializers.deserialize("encoder", &encoder.kind, encoder.config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:298:13 [INFO] [stderr] | [INFO] [stderr] 298 | try!(deserializers.deserialize("policy", &config.policy.kind, config.policy.config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | trigger: Box, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 | trigger: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | roller: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 | roller: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:138:18 [INFO] [stderr] | [INFO] [stderr] 138 | encoder: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | encoder: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:139:17 [INFO] [stderr] | [INFO] [stderr] 139 | policy: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 139 | policy: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:210:25 [INFO] [stderr] | [INFO] [stderr] 210 | encoder: Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 210 | encoder: Option>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/mod.rs:19:51 [INFO] [stderr] | [INFO] [stderr] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | fn roll(&self, file: &Path) -> Result<(), Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/trigger/mod.rs:13:59 [INFO] [stderr] | [INFO] [stderr] 13 | fn trigger(&self, file: &LogFile) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | fn trigger(&self, file: &LogFile) -> Result>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/mod.rs:15:60 [INFO] [stderr] | [INFO] [stderr] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 | fn process(&self, log: &mut LogFile) -> Result<(), Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:231:48 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 231 | pub fn build

(self, path: P, policy: Box) -> RollingFileAppender [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:20:51 [INFO] [stderr] | [INFO] [stderr] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | type Trait = Roll; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 | type Trait = dyn Roll; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:44:75 [INFO] [stderr] | [INFO] [stderr] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:44:86 [INFO] [stderr] | [INFO] [stderr] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:87:51 [INFO] [stderr] | [INFO] [stderr] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 87 | fn roll(&self, file: &Path) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | type Trait = Roll; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 203 | type Trait = dyn Roll; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:205:75 [INFO] [stderr] | [INFO] [stderr] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:205:86 [INFO] [stderr] | [INFO] [stderr] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 205 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:29:59 [INFO] [stderr] | [INFO] [stderr] 29 | fn trigger(&self, file: &LogFile) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 | fn trigger(&self, file: &LogFile) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 49 | type Trait = Trigger; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 | type Trait = dyn Trigger; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:51:75 [INFO] [stderr] | [INFO] [stderr] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:51:89 [INFO] [stderr] | [INFO] [stderr] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 | fn deserialize(&self, config: Value, _: &Deserializers) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:39:60 [INFO] [stderr] | [INFO] [stderr] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | fn process(&self, log: &mut LogFile) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:77:18 [INFO] [stderr] | [INFO] [stderr] 77 | type Trait = Policy; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 | type Trait = dyn Policy; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:82:34 [INFO] [stderr] | [INFO] [stderr] 82 | -> Result, Box> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 | -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:82:47 [INFO] [stderr] | [INFO] [stderr] 82 | -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 | -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:154:60 [INFO] [stderr] | [INFO] [stderr] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 154 | fn append(&self, record: &LogRecord) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:280:18 [INFO] [stderr] | [INFO] [stderr] 280 | type Trait = Append; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 280 | type Trait = dyn Append; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:285:34 [INFO] [stderr] | [INFO] [stderr] 285 | -> Result, Box> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 285 | -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:285:47 [INFO] [stderr] | [INFO] [stderr] 285 | -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 285 | -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:157:84 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 157 | pub fn build(self, pattern: &str, count: u32) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/policy/compound/mod.rs:30:51 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | pub fn new(trigger: Box, roller: Box) -> CompoundPolicy { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:225:43 [INFO] [stderr] | [INFO] [stderr] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 225 | pub fn encoder(mut self, encoder: Box) -> RollingFileAppenderBuilder { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/policy/compound/config.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 10 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stderr] | -------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] ... [INFO] [stderr] 14 | impl _serde::de::Deserialize for Config where [INFO] [stderr] | ^^^^^-----------------------^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | `Config` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 4 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stderr] | -------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] ... [INFO] [stderr] 8 | impl _serde::de::Deserialize for Config { [INFO] [stderr] | ^^^^^-----------------------^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | `Config` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 7 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stderr] | -------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] ... [INFO] [stderr] 11 | impl _serde::de::Deserialize for Config where [INFO] [stderr] | ^^^^^-----------------------^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | `Config` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 8 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stderr] | -------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] ... [INFO] [stderr] 12 | impl _serde::de::Deserialize for Config { [INFO] [stderr] | ^^^^^-----------------------^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | `Config` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 13 | const _IMPL_DESERIALIZE_FOR_Config: () = [INFO] [stderr] | -------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] ... [INFO] [stderr] 17 | impl _serde::de::Deserialize for Config where [INFO] [stderr] | ^^^^^-----------------------^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | `Config` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: `log4rs-rolling-file` (lib) generated 123 warnings (run `cargo fix --lib -p log4rs-rolling-file` to apply 39 suggestions) [INFO] [stderr] warning: `log4rs-rolling-file` (lib test) generated 123 warnings (123 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/log4rs_rolling_file-52b5776b9633efc3) [INFO] [stdout] test policy::compound::roll::fixed_window::test::supported_gzip ... ignored [INFO] [stdout] test test::deserialize ... ok [INFO] [stdout] test policy::compound::roll::fixed_window::test::create_archive_varied ... ok [INFO] [stdout] test policy::compound::roll::fixed_window::test::create_archive_unvaried ... ok [INFO] [stdout] test policy::compound::roll::fixed_window::test::unsupported_gzip ... ok [INFO] [stdout] test policy::compound::roll::fixed_window::test::rotation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9b937c975ae1df354d047a5a477c835291699318e4ae59ba4cf19cdfae20a6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b937c975ae1df354d047a5a477c835291699318e4ae59ba4cf19cdfae20a6c6", kill_on_drop: false }` [INFO] [stdout] 9b937c975ae1df354d047a5a477c835291699318e4ae59ba4cf19cdfae20a6c6