[INFO] fetching crate protobuf-json 0.3.0... [INFO] testing protobuf-json-0.3.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate protobuf-json 0.3.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate protobuf-json 0.3.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate protobuf-json 0.3.0 [INFO] finished tweaking crates.io crate protobuf-json 0.3.0 [INFO] tweaked toml for crates.io crate protobuf-json 0.3.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5561beb45091dfa3fea9ad8c38f47b5eb7fc5683f653a309b47edb5858cc6a83 [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" "5561beb45091dfa3fea9ad8c38f47b5eb7fc5683f653a309b47edb5858cc6a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5561beb45091dfa3fea9ad8c38f47b5eb7fc5683f653a309b47edb5858cc6a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5561beb45091dfa3fea9ad8c38f47b5eb7fc5683f653a309b47edb5858cc6a83", kill_on_drop: false }` [INFO] [stdout] 5561beb45091dfa3fea9ad8c38f47b5eb7fc5683f653a309b47edb5858cc6a83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a5d56966c83606409cf5ab7bc63abdc22618f69ccf597e9654e4d17a7a0156b5 [INFO] running `Command { std: "docker" "start" "-a" "a5d56966c83606409cf5ab7bc63abdc22618f69ccf597e9654e4d17a7a0156b5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling protobuf-json v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn proto_to_json(message: &Message) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn field_to_json(m: &Message, fd: &FieldDescriptor) -> Option { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | message: &'a Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> usize` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a Message, usize) -> &'a T` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | message: &Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | convert_one_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | fn repeated_field_to_json(message: &Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | let mut sub_messages: Vec<&protobuf::Message> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | fn singular_field_to_json(message: &protobuf::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let sub_message: &protobuf::Message = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.93s [INFO] running `Command { std: "docker" "inspect" "a5d56966c83606409cf5ab7bc63abdc22618f69ccf597e9654e4d17a7a0156b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d56966c83606409cf5ab7bc63abdc22618f69ccf597e9654e4d17a7a0156b5", kill_on_drop: false }` [INFO] [stdout] a5d56966c83606409cf5ab7bc63abdc22618f69ccf597e9654e4d17a7a0156b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e87f66e34db54fcb2058712b8c55c476a45dfcf3cbe2c91eba6dc0c6f02c62 [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" "76e87f66e34db54fcb2058712b8c55c476a45dfcf3cbe2c91eba6dc0c6f02c62", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf-json v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn proto_to_json(message: &Message) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn field_to_json(m: &Message, fd: &FieldDescriptor) -> Option { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | message: &'a Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> usize` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a Message, usize) -> &'a T` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | message: &Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | convert_one_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | fn repeated_field_to_json(message: &Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | let mut sub_messages: Vec<&protobuf::Message> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | fn singular_field_to_json(message: &protobuf::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let sub_message: &protobuf::Message = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | fn as_any(&self) -> &::std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | self as &::std::any::Any [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | self as &mut ::std::any::Any [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:137:55 [INFO] [stdout] | [INFO] [stdout] 137 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:1653:26 [INFO] [stdout] | [INFO] [stdout] 1653 | fn as_any(&self) -> &::std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:1654:18 [INFO] [stdout] | [INFO] [stdout] 1654 | self as &::std::any::Any [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:1656:38 [INFO] [stdout] | [INFO] [stdout] 1656 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:1657:22 [INFO] [stdout] | [INFO] [stdout] 1657 | self as &mut ::std::any::Any [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:1659:55 [INFO] [stdout] | [INFO] [stdout] 1659 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:2082:26 [INFO] [stdout] | [INFO] [stdout] 2082 | fn as_any(&self) -> &::std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:2083:18 [INFO] [stdout] | [INFO] [stdout] 2083 | self as &::std::any::Any [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:2085:38 [INFO] [stdout] | [INFO] [stdout] 2085 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:2086:22 [INFO] [stdout] | [INFO] [stdout] 2086 | self as &mut ::std::any::Any [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/test_proto.rs:2088:55 [INFO] [stdout] | [INFO] [stdout] 2088 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/mod.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | fn to_serde_array(v: Vec, conv_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn proto_to_json(message: &Message) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn field_to_json(m: &Message, fd: &FieldDescriptor) -> Option { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | message: &'a Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> usize` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a Message, usize) -> &'a T` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | message: &Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | convert_one_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | fn repeated_field_to_json(message: &Message, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | let mut sub_messages: Vec<&protobuf::Message> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | fn singular_field_to_json(message: &protobuf::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let sub_message: &protobuf::Message = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.65s [INFO] running `Command { std: "docker" "inspect" "76e87f66e34db54fcb2058712b8c55c476a45dfcf3cbe2c91eba6dc0c6f02c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e87f66e34db54fcb2058712b8c55c476a45dfcf3cbe2c91eba6dc0c6f02c62", kill_on_drop: false }` [INFO] [stdout] 76e87f66e34db54fcb2058712b8c55c476a45dfcf3cbe2c91eba6dc0c6f02c62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6165ccbff36a489e88fa2bc845a5c46d6fbb1eee655f7caccf8d737b4471e58 [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" "e6165ccbff36a489e88fa2bc845a5c46d6fbb1eee655f7caccf8d737b4471e58", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn proto_to_json(message: &Message) -> serde_json::Value { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | fn field_to_json(m: &Message, fd: &FieldDescriptor) -> Option { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | message: &'a Message, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> usize` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a Message, usize) -> &'a T` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | message: &Message, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> Vec` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:58:22 [INFO] [stderr] | [INFO] [stderr] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | convert_one_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:65:37 [INFO] [stderr] | [INFO] [stderr] 65 | fn repeated_field_to_json(message: &Message, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:130:40 [INFO] [stderr] | [INFO] [stderr] 130 | let mut sub_messages: Vec<&protobuf::Message> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:162:37 [INFO] [stderr] | [INFO] [stderr] 162 | fn singular_field_to_json(message: &protobuf::Message, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | let sub_message: &protobuf::Message = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:131:26 [INFO] [stderr] | [INFO] [stderr] 131 | fn as_any(&self) -> &::std::any::Any { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:132:18 [INFO] [stderr] | [INFO] [stderr] 132 | self as &::std::any::Any [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:134:38 [INFO] [stderr] | [INFO] [stderr] 134 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:135:22 [INFO] [stderr] | [INFO] [stderr] 135 | self as &mut ::std::any::Any [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:137:55 [INFO] [stderr] | [INFO] [stderr] 137 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:1653:26 [INFO] [stderr] | [INFO] [stderr] 1653 | fn as_any(&self) -> &::std::any::Any { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:1654:18 [INFO] [stderr] | [INFO] [stderr] 1654 | self as &::std::any::Any [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:1656:38 [INFO] [stderr] | [INFO] [stderr] 1656 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:1657:22 [INFO] [stderr] | [INFO] [stderr] 1657 | self as &mut ::std::any::Any [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:1659:55 [INFO] [stderr] | [INFO] [stderr] 1659 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:2082:26 [INFO] [stderr] | [INFO] [stderr] 2082 | fn as_any(&self) -> &::std::any::Any { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:2083:18 [INFO] [stderr] | [INFO] [stderr] 2083 | self as &::std::any::Any [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:2085:38 [INFO] [stderr] | [INFO] [stderr] 2085 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:2086:22 [INFO] [stderr] | [INFO] [stderr] 2086 | self as &mut ::std::any::Any [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/test_proto.rs:2088:55 [INFO] [stderr] | [INFO] [stderr] 2088 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/mod.rs:160:43 [INFO] [stderr] | [INFO] [stderr] 160 | fn to_serde_array(v: Vec, conv_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn proto_to_json(message: &Message) -> serde_json::Value { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | fn field_to_json(m: &Message, fd: &FieldDescriptor) -> Option { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | message: &'a Message, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> usize` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | get_size_fn: &Fn(&Message) -> usize, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a Message, usize) -> &'a T` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | extract_one_fn: &Fn(&'a Message, usize) -> &'a T) -> Vec<&'a T> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | message: &Message, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message) -> Vec` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:58:22 [INFO] [stderr] | [INFO] [stderr] 58 | extract_fn: &Fn(&Message) -> Vec, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | convert_one_fn: &Fn(T) -> serde_json::Value) -> serde_json::Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> serde_json::Value` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:65:37 [INFO] [stderr] | [INFO] [stderr] 65 | fn repeated_field_to_json(message: &Message, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:130:40 [INFO] [stderr] | [INFO] [stderr] 130 | let mut sub_messages: Vec<&protobuf::Message> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:162:37 [INFO] [stderr] | [INFO] [stderr] 162 | fn singular_field_to_json(message: &protobuf::Message, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | let sub_message: &protobuf::Message = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn protobuf::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 31 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/protobuf_json-fbd153554d3c5dd2) [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::simple_proto_to_json ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test tests::full_proto_to_json ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::full_proto_to_json stdout ---- [INFO] [stdout] thread 'tests::full_proto_to_json' panicked at 'explicit panic', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/protobuf-1.7.5/src/reflect/accessor.rs:325:18 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5615d028be80 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5615d028be80 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5615d028be80 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5615d028be80 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5615d02af1cc - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x5615d0288dc5 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x5615d028e00b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5615d028e00b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5615d028e00b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5615d028db1c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5615d028e6b1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5615d00f9df3 - std[77c0456e0eb29f0c]::panicking::begin_panic::<&str>::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x5615d00f9d69 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5615d00f9be9 - std[77c0456e0eb29f0c]::panicking::begin_panic::<&str> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x5615d008d0d1 - as protobuf[2a9fd1e44a252c78]::reflect::accessor::FieldAccessor>::get_message_generic [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/protobuf-1.7.5/src/reflect/accessor.rs:325:18 [INFO] [stdout] 15: 0x5615d01a1841 - ::get_message [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/protobuf-1.7.5/src/reflect/mod.rs:72:9 [INFO] [stdout] 16: 0x5615d009aecf - protobuf_json[928089348ae64f6e]::singular_field_to_json [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:202:17 [INFO] [stdout] 17: 0x5615d0099407 - protobuf_json[928089348ae64f6e]::field_to_json [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:32:14 [INFO] [stdout] 18: 0x5615d009919c - protobuf_json[928089348ae64f6e]::proto_to_json [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:15:15 [INFO] [stdout] 19: 0x5615d009c16f - protobuf_json[928089348ae64f6e]::tests::full_proto_to_json [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:69:18 [INFO] [stdout] 20: 0x5615d009b5aa - protobuf_json[928089348ae64f6e]::tests::full_proto_to_json::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:20:1 [INFO] [stdout] 21: 0x5615d00607fe - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5615d00c9783 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5615d00c9783 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 24: 0x5615d00c824c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 25: 0x5615d00c824c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 26: 0x5615d00c824c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 27: 0x5615d00c824c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 28: 0x5615d00c824c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 29: 0x5615d00c824c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 30: 0x5615d00c824c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x5615d00a7f12 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x5615d00a7f12 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 33: 0x5615d00a87f8 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 34: 0x5615d00a87f8 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 35: 0x5615d00a87f8 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 36: 0x5615d00a87f8 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 37: 0x5615d00a87f8 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 38: 0x5615d00a87f8 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 39: 0x5615d00a87f8 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5615d0293167 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x5615d0293167 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 42: 0x5615d0293167 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 43: 0x7fe7b8e7d609 - start_thread [INFO] [stdout] 44: 0x7fe7b8c4f293 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_proto_to_json [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6165ccbff36a489e88fa2bc845a5c46d6fbb1eee655f7caccf8d737b4471e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6165ccbff36a489e88fa2bc845a5c46d6fbb1eee655f7caccf8d737b4471e58", kill_on_drop: false }` [INFO] [stdout] e6165ccbff36a489e88fa2bc845a5c46d6fbb1eee655f7caccf8d737b4471e58