[INFO] fetching crate pac2 0.1.0... [INFO] building pac2-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate pac2 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pac2 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pac2 0.1.0 [INFO] finished tweaking crates.io crate pac2 0.1.0 [INFO] tweaked toml for crates.io crate pac2 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate pac2 0.1.0 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-codegen-pure v2.14.0 [INFO] [stderr] Downloaded protobuf-codegen v2.14.0 [INFO] [stderr] Downloaded protobuf v2.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79fef074e7307edbb39a30ed779ddb3bdd3a197cfb52ff5860fcac6259c90213 [INFO] running `Command { std: "docker" "start" "-a" "79fef074e7307edbb39a30ed779ddb3bdd3a197cfb52ff5860fcac6259c90213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79fef074e7307edbb39a30ed779ddb3bdd3a197cfb52ff5860fcac6259c90213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fef074e7307edbb39a30ed779ddb3bdd3a197cfb52ff5860fcac6259c90213", kill_on_drop: false }` [INFO] [stdout] 79fef074e7307edbb39a30ed779ddb3bdd3a197cfb52ff5860fcac6259c90213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 712b8d02973a2e2d8b7ce44e38679e369b1e6709ce9d101c32e7344fec49507f [INFO] running `Command { std: "docker" "start" "-a" "712b8d02973a2e2d8b7ce44e38679e369b1e6709ce9d101c32e7344fec49507f", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v2.14.0 [INFO] [stderr] Compiling protobuf-codegen v2.14.0 [INFO] [stderr] Compiling protobuf-codegen-pure v2.14.0 [INFO] [stderr] Compiling pac2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `protobuf_codegen_pure::run`: Use Codegen instead [INFO] [stdout] --> build.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | proto::run(proto::Args { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `protobuf_codegen_pure::Args`: Use Codegen object instead [INFO] [stdout] --> build.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | proto::run(proto::Args { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::out_dir`: Use Codegen object instead [INFO] [stdout] --> build.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | out_dir: proto_out_dir.to_str().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::input`: Use Codegen object instead [INFO] [stdout] --> build.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | input: &["proto/index.proto"], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::includes`: Use Codegen object instead [INFO] [stdout] --> build.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | includes: &["proto"], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::customize`: Use Codegen object instead [INFO] [stdout] --> build.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / customize: proto::Customize { [INFO] [stdout] 25 | | ..Default::default() [INFO] [stdout] 26 | | }, [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / descriptor.get(|| { [INFO] [stdout] 157 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 158 | | fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( [INFO] [stdout] 159 | | "files", [INFO] [stdout] ... | [INFO] [stdout] 168 | | }) [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | instance.get(PackageIndex::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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | / descriptor.get(|| { [INFO] [stdout] 378 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 379 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 380 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 399 | | }) [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | instance.get(File::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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 448 | | parse_descriptor_proto() [INFO] [stdout] 449 | | }) [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 3.63s [INFO] running `Command { std: "docker" "inspect" "712b8d02973a2e2d8b7ce44e38679e369b1e6709ce9d101c32e7344fec49507f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712b8d02973a2e2d8b7ce44e38679e369b1e6709ce9d101c32e7344fec49507f", kill_on_drop: false }` [INFO] [stdout] 712b8d02973a2e2d8b7ce44e38679e369b1e6709ce9d101c32e7344fec49507f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a63ba0f305848e7d053c7260e8307a0199b5c0a17b4c2a9226d8121ba1425eb [INFO] running `Command { std: "docker" "start" "-a" "3a63ba0f305848e7d053c7260e8307a0199b5c0a17b4c2a9226d8121ba1425eb", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `protobuf_codegen_pure::run`: Use Codegen instead [INFO] [stdout] --> build.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | proto::run(proto::Args { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `protobuf_codegen_pure::Args`: Use Codegen object instead [INFO] [stdout] --> build.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | proto::run(proto::Args { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::out_dir`: Use Codegen object instead [INFO] [stdout] --> build.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | out_dir: proto_out_dir.to_str().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::input`: Use Codegen object instead [INFO] [stdout] --> build.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | input: &["proto/index.proto"], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::includes`: Use Codegen object instead [INFO] [stdout] --> build.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | includes: &["proto"], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `protobuf_codegen_pure::Args::customize`: Use Codegen object instead [INFO] [stdout] --> build.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / customize: proto::Customize { [INFO] [stdout] 25 | | ..Default::default() [INFO] [stdout] 26 | | }, [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / descriptor.get(|| { [INFO] [stdout] 157 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 158 | | fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( [INFO] [stdout] 159 | | "files", [INFO] [stdout] ... | [INFO] [stdout] 168 | | }) [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | instance.get(PackageIndex::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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | / descriptor.get(|| { [INFO] [stdout] 378 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 379 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 380 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 399 | | }) [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] Compiling pac2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | instance.get(File::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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 448 | | parse_descriptor_proto() [INFO] [stdout] 449 | | }) [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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / descriptor.get(|| { [INFO] [stdout] 157 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 158 | | fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( [INFO] [stdout] 159 | | "files", [INFO] [stdout] ... | [INFO] [stdout] 168 | | }) [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | instance.get(PackageIndex::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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | / descriptor.get(|| { [INFO] [stdout] 378 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 379 | | fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( [INFO] [stdout] 380 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 399 | | }) [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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | instance.get(File::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] --> /opt/rustwide/target/debug/build/pac2-368899d91100b42b/out/proto/index.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 448 | | parse_descriptor_proto() [INFO] [stdout] 449 | | }) [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 `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "3a63ba0f305848e7d053c7260e8307a0199b5c0a17b4c2a9226d8121ba1425eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a63ba0f305848e7d053c7260e8307a0199b5c0a17b4c2a9226d8121ba1425eb", kill_on_drop: false }` [INFO] [stdout] 3a63ba0f305848e7d053c7260e8307a0199b5c0a17b4c2a9226d8121ba1425eb