[INFO] fetching crate syslog-ng-common 0.7.0... [INFO] checking syslog-ng-common-0.7.0 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate syslog-ng-common 0.7.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate syslog-ng-common 0.7.0 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate syslog-ng-common 0.7.0 [INFO] finished tweaking crates.io crate syslog-ng-common 0.7.0 [INFO] tweaked toml for crates.io crate syslog-ng-common 0.7.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syslog-ng-sys v0.2.3 [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" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 279512045a38c4abf054a7b0c71c2ad259a34bbc87ec02f39c4dfe751d6f3cfa [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" "279512045a38c4abf054a7b0c71c2ad259a34bbc87ec02f39c4dfe751d6f3cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "279512045a38c4abf054a7b0c71c2ad259a34bbc87ec02f39c4dfe751d6f3cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279512045a38c4abf054a7b0c71c2ad259a34bbc87ec02f39c4dfe751d6f3cfa", kill_on_drop: false }` [INFO] [stdout] 279512045a38c4abf054a7b0c71c2ad259a34bbc87ec02f39c4dfe751d6f3cfa [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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--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] 8b47d1e02206f2a02731c03e017de87920cd761170bc7b085f71f64716ab52c8 [INFO] running `Command { std: "docker" "start" "-a" "8b47d1e02206f2a02731c03e017de87920cd761170bc7b085f71f64716ab52c8", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syslog-ng-sys v0.2.3 [INFO] [stderr] Checking syslog-ng-common v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proxies/parser/option_error.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proxies/parser/option_error.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logmsg/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut vec: &mut Vec = mem::transmute(user_data); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logmsg/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut map: &mut BTreeMap = mem::transmute(user_data); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/messages.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if messages::trace_flag != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/messages.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | } else if messages::debug_flag != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syslog-ng-common` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logmsg/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut vec: &mut Vec = mem::transmute(user_data); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logmsg/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut map: &mut BTreeMap = mem::transmute(user_data); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/messages.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if messages::trace_flag != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/messages.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | } else if messages::debug_flag != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b47d1e02206f2a02731c03e017de87920cd761170bc7b085f71f64716ab52c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b47d1e02206f2a02731c03e017de87920cd761170bc7b085f71f64716ab52c8", kill_on_drop: false }` [INFO] [stdout] 8b47d1e02206f2a02731c03e017de87920cd761170bc7b085f71f64716ab52c8