[INFO] fetching crate fakelogs 0.1.10-75501d4... [INFO] checking fakelogs-0.1.10-75501d4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate fakelogs 0.1.10-75501d4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fakelogs 0.1.10-75501d4 [INFO] finished tweaking crates.io crate fakelogs 0.1.10-75501d4 [INFO] tweaked toml for crates.io crate fakelogs 0.1.10-75501d4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fakelogs 0.1.10-75501d4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fakelogs 0.1.10-75501d4 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36c6bd499e451dd8b55435325f50994767a0ea3754fdef364327f73a651cbf99 [INFO] running `Command { std: "docker" "start" "-a" "36c6bd499e451dd8b55435325f50994767a0ea3754fdef364327f73a651cbf99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36c6bd499e451dd8b55435325f50994767a0ea3754fdef364327f73a651cbf99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c6bd499e451dd8b55435325f50994767a0ea3754fdef364327f73a651cbf99", kill_on_drop: false }` [INFO] [stdout] 36c6bd499e451dd8b55435325f50994767a0ea3754fdef364327f73a651cbf99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c59a54246cec994577c6965f32a5ac8cf5ebb2c94722c0698e8296bec2bebba7 [INFO] running `Command { std: "docker" "start" "-a" "c59a54246cec994577c6965f32a5ac8cf5ebb2c94722c0698e8296bec2bebba7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking ticker v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking fakelogs v0.1.10-75501d4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/generator.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn write_common_log_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - pub fn write_common_log_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] 161 + pub fn write_common_log_header(w: &mut dyn std::io::Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/generator.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn write_csv_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - pub fn write_csv_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] 175 + pub fn write_csv_header(w: &mut dyn std::io::Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | r = l.write_csv(handle.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `RefCell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `RefCell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] = note: required for `ReentrantLockGuard<'_, RefCell>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `StdoutLock<'_>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/io/stdio.rs:640:12 [INFO] [stdout] = note: required for the cast from `&mut StdoutLock<'_>` to `&mut dyn std::io::Write + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | r = l.write_common_log(handle.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `RefCell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `RefCell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] = note: required for `ReentrantLockGuard<'_, RefCell>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `StdoutLock<'_>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/io/stdio.rs:640:12 [INFO] [stdout] = note: required for the cast from `&mut StdoutLock<'_>` to `&mut dyn std::io::Write + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/generator.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn write_common_log_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - pub fn write_common_log_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] 161 + pub fn write_common_log_header(w: &mut dyn std::io::Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/generator.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn write_csv_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - pub fn write_csv_header(w: &mut (dyn std::io::Write)) -> Result { [INFO] [stdout] 175 + pub fn write_csv_header(w: &mut dyn std::io::Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fakelogs` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `RefCell>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | r = l.write_csv(handle.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `RefCell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `RefCell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] = note: required for `ReentrantLockGuard<'_, RefCell>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `StdoutLock<'_>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/io/stdio.rs:640:12 [INFO] [stdout] = note: required for the cast from `&mut StdoutLock<'_>` to `&mut dyn std::io::Write + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | r = l.write_common_log(handle.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `RefCell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `RefCell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] = note: required for `ReentrantLockGuard<'_, RefCell>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `StdoutLock<'_>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/io/stdio.rs:640:12 [INFO] [stdout] = note: required for the cast from `&mut StdoutLock<'_>` to `&mut dyn std::io::Write + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fakelogs` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c59a54246cec994577c6965f32a5ac8cf5ebb2c94722c0698e8296bec2bebba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59a54246cec994577c6965f32a5ac8cf5ebb2c94722c0698e8296bec2bebba7", kill_on_drop: false }` [INFO] [stdout] c59a54246cec994577c6965f32a5ac8cf5ebb2c94722c0698e8296bec2bebba7