[INFO] fetching crate fakelogs 0.1.10-75501d4... [INFO] testing fakelogs-0.1.10-75501d4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fakelogs 0.1.10-75501d4 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fakelogs 0.1.10-75501d4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce3df60bb0ea5f93b4ea9e533d29e582ca370ecc751eee9085968d3218eeba9 [INFO] running `Command { std: "docker" "start" "-a" "8ce3df60bb0ea5f93b4ea9e533d29e582ca370ecc751eee9085968d3218eeba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce3df60bb0ea5f93b4ea9e533d29e582ca370ecc751eee9085968d3218eeba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce3df60bb0ea5f93b4ea9e533d29e582ca370ecc751eee9085968d3218eeba9", kill_on_drop: false }` [INFO] [stdout] 8ce3df60bb0ea5f93b4ea9e533d29e582ca370ecc751eee9085968d3218eeba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35cf4dc4fb8c1ff704969509257574f977614a37dd6533d7c8deffeb3865b8c5 [INFO] running `Command { std: "docker" "start" "-a" "35cf4dc4fb8c1ff704969509257574f977614a37dd6533d7c8deffeb3865b8c5", 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] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ticker v0.1.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/stdio.rs:640:11 [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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/stdio.rs:640:11 [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) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35cf4dc4fb8c1ff704969509257574f977614a37dd6533d7c8deffeb3865b8c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35cf4dc4fb8c1ff704969509257574f977614a37dd6533d7c8deffeb3865b8c5", kill_on_drop: false }` [INFO] [stdout] 35cf4dc4fb8c1ff704969509257574f977614a37dd6533d7c8deffeb3865b8c5