[INFO] cloning repository https://github.com/wolfgang/logg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wolfgang/logg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwolfgang%2Flogg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwolfgang%2Flogg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb546eae0a5bc28741c6c31391c7af6a9e21a1fe [INFO] checking wolfgang/logg against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwolfgang%2Flogg" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wolfgang/logg on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wolfgang/logg [INFO] finished tweaking git repo https://github.com/wolfgang/logg [INFO] tweaked toml for git repo https://github.com/wolfgang/logg written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/wolfgang/logg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37e8eba8a5a414b127b3937a3208cb7f98c5499a7b65302fc893894c7690362f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37e8eba8a5a414b127b3937a3208cb7f98c5499a7b65302fc893894c7690362f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37e8eba8a5a414b127b3937a3208cb7f98c5499a7b65302fc893894c7690362f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e8eba8a5a414b127b3937a3208cb7f98c5499a7b65302fc893894c7690362f", kill_on_drop: false }` [INFO] [stdout] 37e8eba8a5a414b127b3937a3208cb7f98c5499a7b65302fc893894c7690362f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58bc25a4e891919dc9e4fe1708ee21cd23c1d0f35723ccde4fa3fa1ebda56a1d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "58bc25a4e891919dc9e4fe1708ee21cd23c1d0f35723ccde4fa3fa1ebda56a1d", kill_on_drop: false }` [INFO] [stderr] Checking colored v1.7.0 [INFO] [stderr] Checking pretty_assertions v0.5.1 [INFO] [stderr] Checking serde_json v1.0.36 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking logg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | type CmdFn=&'static Fn(&[String]) -> EmptyBoxedResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[String]) -> EmptyBoxedResult` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/json_db.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | get_timestamp_fn: &'a Fn() -> i64 [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> i64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/json_db.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | fn _new(json: serde_json::Value, get_timestamp_fn: &'a Fn() -> i64) -> JsonDB<'a> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> i64` [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/core/editor.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | .or_else({|error| simple_error(format!("Could not get editor contents: {}", error))}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 36 - .or_else({|error| simple_error(format!("Could not get editor contents: {}", error))}) [INFO] [stdout] 36 + .or_else(|error| simple_error(format!("Could not get editor contents: {}", error))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/error.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoxedResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | type CmdFn=&'static Fn(&[String]) -> EmptyBoxedResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[String]) -> EmptyBoxedResult` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/json_db.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | get_timestamp_fn: &'a Fn() -> i64 [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> i64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/json_db.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | fn _new(json: serde_json::Value, get_timestamp_fn: &'a Fn() -> i64) -> JsonDB<'a> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> i64` [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/core/editor.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | .or_else({|error| simple_error(format!("Could not get editor contents: {}", error))}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 36 - .or_else({|error| simple_error(format!("Could not get editor contents: {}", error))}) [INFO] [stdout] 36 + .or_else(|error| simple_error(format!("Could not get editor contents: {}", error))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/error.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoxedResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_file` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let log_file = logg::core::LOG_FILE; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/rust_error_handling_test.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | fn return_error_as_string(return_error: bool) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/rust_error_handling_test.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | Err(error) => error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/rust_functions_test.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn fun_fun(value: i32, f: &Fn(i32) -> i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_file` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let log_file = logg::core::LOG_FILE; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "58bc25a4e891919dc9e4fe1708ee21cd23c1d0f35723ccde4fa3fa1ebda56a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58bc25a4e891919dc9e4fe1708ee21cd23c1d0f35723ccde4fa3fa1ebda56a1d", kill_on_drop: false }` [INFO] [stdout] 58bc25a4e891919dc9e4fe1708ee21cd23c1d0f35723ccde4fa3fa1ebda56a1d