[INFO] cloning repository https://github.com/foreverfamily/forever [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foreverfamily/forever" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforeverfamily%2Fforever", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforeverfamily%2Fforever'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cbb8939a2beb25f4a1a46163d74d32d910eceb1 [INFO] testing foreverfamily/forever against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforeverfamily%2Fforever" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foreverfamily/forever on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foreverfamily/forever [INFO] finished tweaking git repo https://github.com/foreverfamily/forever [INFO] tweaked toml for git repo https://github.com/foreverfamily/forever written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/foreverfamily/forever already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tls-api v0.1.14 [INFO] [stderr] Downloaded tls-api v0.1.14 [INFO] [stderr] Downloaded tls-api-stub v0.1.14 [INFO] [stderr] Downloaded httpbis v0.4.1 [INFO] [stderr] Downloaded grpc v0.2.1 [INFO] [stderr] Downloaded futures v0.1.19 [INFO] [stderr] Downloaded protobuf v1.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c2e4215ecb79d0237709de4457036b6ae95094d53cc9b11c0b6f77de52d818f [INFO] running `Command { std: "docker" "start" "-a" "3c2e4215ecb79d0237709de4457036b6ae95094d53cc9b11c0b6f77de52d818f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c2e4215ecb79d0237709de4457036b6ae95094d53cc9b11c0b6f77de52d818f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c2e4215ecb79d0237709de4457036b6ae95094d53cc9b11c0b6f77de52d818f", kill_on_drop: false }` [INFO] [stdout] 3c2e4215ecb79d0237709de4457036b6ae95094d53cc9b11c0b6f77de52d818f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5608421ab7040adb8370f6bc37294ce13678fc52b850a00ad59c860c8f86252 [INFO] running `Command { std: "docker" "start" "-a" "f5608421ab7040adb8370f6bc37294ce13678fc52b850a00ad59c860c8f86252", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling futures v0.1.19 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling scoped-tls v0.1.1 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tls-api v0.1.14 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling tls-api-stub v0.1.14 [INFO] [stderr] Compiling crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling protobuf v1.4.4 [INFO] [stderr] Compiling tokio-executor v0.1.0 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.0 [INFO] [stderr] Compiling tokio v0.1.3 [INFO] [stderr] Compiling tokio-core v0.1.15 [INFO] [stderr] Compiling tokio-tls-api v0.1.14 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling httpbis v0.4.1 [INFO] [stderr] Compiling hyper v0.11.22 [INFO] [stderr] Compiling grpc v0.2.1 [INFO] [stderr] Compiling forever v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ContentLength` and `ContentType` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::header::{ContentLength, ContentType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Http`, `Response`, `const_service`, and `service_fn` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::server::{const_service, Http, Response, service_fn}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Message` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/proto/love.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/proto/love_grpc.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | fn as_any(&self) -> &::std::any::Any { [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] 138 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [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] 141 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:144:55 [INFO] [stdout] | [INFO] [stdout] 144 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [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] 144 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | fn as_any(&self) -> &::std::any::Any { [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] 314 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [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] 317 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:320:55 [INFO] [stdout] | [INFO] [stdout] 320 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [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] 320 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | self as &::std::any::Any [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 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | self as &mut ::std::any::Any [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] 142 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | self as &::std::any::Any [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] 315 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | self as &mut ::std::any::Any [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] 318 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn love(&self, o: grpc::RequestOptions, love_you: proto::LoveYou) -> grpc::StreamingResponse { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | instance.get(LoveYou::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / descriptor.get(|| { [INFO] [stdout] 165 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 166 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 167 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 176 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | instance.get(LoveReply::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | / descriptor.get(|| { [INFO] [stdout] 341 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 342 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 343 | | "message", [INFO] [stdout] ... | [INFO] [stdout] 352 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 410 | | parse_descriptor_proto() [INFO] [stdout] 411 | | }) [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.70s [INFO] running `Command { std: "docker" "inspect" "f5608421ab7040adb8370f6bc37294ce13678fc52b850a00ad59c860c8f86252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5608421ab7040adb8370f6bc37294ce13678fc52b850a00ad59c860c8f86252", kill_on_drop: false }` [INFO] [stdout] f5608421ab7040adb8370f6bc37294ce13678fc52b850a00ad59c860c8f86252 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57dda6c75a469c35c9784b4d73ddef5c808823f27d28d8091670fb2e670a3b86 [INFO] running `Command { std: "docker" "start" "-a" "57dda6c75a469c35c9784b4d73ddef5c808823f27d28d8091670fb2e670a3b86", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling forever v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ContentLength` and `ContentType` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::header::{ContentLength, ContentType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Http`, `Response`, `const_service`, and `service_fn` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::server::{const_service, Http, Response, service_fn}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Message` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/proto/love.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/proto/love_grpc.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | fn as_any(&self) -> &::std::any::Any { [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] 138 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [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] 141 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:144:55 [INFO] [stdout] | [INFO] [stdout] 144 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [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] 144 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | fn as_any(&self) -> &::std::any::Any { [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] 314 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | fn as_any_mut(&mut self) -> &mut ::std::any::Any { [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] 317 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:320:55 [INFO] [stdout] | [INFO] [stdout] 320 | fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { [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] 320 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | self as &::std::any::Any [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 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | self as &mut ::std::any::Any [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] 142 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | self as &::std::any::Any [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] 315 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/love.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | self as &mut ::std::any::Any [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] 318 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn love(&self, o: grpc::RequestOptions, love_you: proto::LoveYou) -> grpc::StreamingResponse { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | instance.get(LoveYou::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / descriptor.get(|| { [INFO] [stdout] 165 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 166 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 167 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 176 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | instance.get(LoveReply::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | / descriptor.get(|| { [INFO] [stdout] 341 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 342 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 343 | | "message", [INFO] [stdout] ... | [INFO] [stdout] 352 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/proto/love.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 410 | | parse_descriptor_proto() [INFO] [stdout] 411 | | }) [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustc8AGFBj/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-5b337cbd81a5a91e.rlib,libgetopts-b3d751a359439e5c.rlib,libunicode_width-b94cd6aeaf6d0888.rlib,librustc_std_workspace_std-7eff89145b2e518b.rlib}" "/opt/rustwide/target/debug/deps/{libhyper-93a1146a663c3e12.rlib,libtokio_proto-3e0615380dbb260e.rlib,libtokio_service-d2649d455af6b6f2.rlib,libtake-c3f74328b7255698.rlib,libsmallvec-7819c51898c03e5e.rlib,libtime-8bcca383987ae482.rlib,librelay-51d2bcb56197363f.rlib,libpercent_encoding-2853bb6f5ea162ad.rlib,libmime-21a8d48794572950.rlib,libunicase-1c370e8e4e4bf738.rlib,liblanguage_tags-99be5fc1d60e7caa.rlib,libhttparse-1aa25dec71dc3b0e.rlib,libgrpc-36431e63cb47ac0c.rlib,libhttpbis-db219ee73605973e.rlib,libtokio_timer-52ae85b90888e13c.rlib,libslab-08124e4f2774fb67.rlib,libprotobuf-b9e1c300099864b2.rlib,libbase64-2b9e728d4fb52929.rlib,libsafemem-90106cfe2e932f56.rlib,libtokio_tls_api-2e8bcdd4381bf63d.rlib,libtls_api_stub-15ebeb3541ce927e.rlib,libvoid-c8c62e9ffd6f4978.rlib,libtls_api-e048c51f91fa6e2e.rlib,libtokio_core-c9e74cc87118d3b3.rlib,libscoped_tls-6f32c0539665656a.rlib,libtokio-48577ca568da6c93.rlib,libtokio_threadpool-e32d7ccb3a1299b1.rlib,liblog-6d4c3b833f7899da.rlib,librand-f5cefee3309e3ad9.rlib,librand-b7b008c0bd98731e.rlib,libcrossbeam_deque-55750c6045a5e42d.rlib,libcrossbeam_utils-c88775beb68f313b.rlib,libcrossbeam_epoch-c636f276305b8598.rlib,libscopeguard-ace9bd6bf0f8ab9a.rlib,libmemoffset-ddadc9eaeefba187.rlib,liblazy_static-f76c4c2397d10b24.rlib,libcrossbeam_utils-e7dfe16d9f22862a.rlib,libarrayvec-73603dbbbc322b23.rlib,libnodrop-e3ba24f4bb522cc2.rlib,libtokio_reactor-d2ea85c9f5558609.rlib,libtokio_executor-4ec668fb5b08fc52.rlib,libtokio_io-08533abe1f9361c6.rlib,libmio-f3f2a824211b0c57.rlib,libslab-0239483a47311d5f.rlib,libnet2-d240c17a9d0f51ec.rlib,liblazycell-d2ced2eb3b37b1ca.rlib,libbytes-991d9e4a835d28bf.rlib,libiovec-4aa02560eb7b5b8b.rlib,libbyteorder-99cbe3349d80fb5a.rlib,liblog-c72334e10510da74.rlib,libcfg_if-72970af350236a77.rlib,libfutures_cpupool-b51906e5ec19fc65.rlib,libnum_cpus-3c7419ea7e904903.rlib,liblibc-e315081f5fa11b59.rlib,libfutures-294085042744b893.rlib}" "/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c961c021679cb080.rlib,libpanic_unwind-cf53e161ed1cff61.rlib,libobject-cb648d8066e1f446.rlib,libmemchr-c5d4f358058ea4b7.rlib,libaddr2line-c3d71356250e6616.rlib,libgimli-f87b04c9c9484f11.rlib,librustc_demangle-bcb6f2ec634b4b7c.rlib,libstd_detect-7c9c37927c8e6d84.rlib,libhashbrown-c2c9b281c2c2a277.rlib,librustc_std_workspace_alloc-436fb8ec294074ae.rlib,libminiz_oxide-8d1606a7c3a02301.rlib,libadler-b9d368accc529045.rlib,libunwind-8fa2d9148abc4bd4.rlib,libcfg_if-04c8eb04b1ca0e2e.rlib,liblibc-ac32c271036f683f.rlib,liballoc-954db56effadca87.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-d643a4794e0b0ebc.rlib}" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/forever-8902e567fb46fffc" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `forever` (bin "forever" test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57dda6c75a469c35c9784b4d73ddef5c808823f27d28d8091670fb2e670a3b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57dda6c75a469c35c9784b4d73ddef5c808823f27d28d8091670fb2e670a3b86", kill_on_drop: false }` [INFO] [stdout] 57dda6c75a469c35c9784b4d73ddef5c808823f27d28d8091670fb2e670a3b86