[INFO] fetching crate fakelogs 0.1.10-75501d4... [INFO] testing fakelogs-0.1.10-75501d4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fakelogs 0.1.10-75501d4 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fakelogs 0.1.10-75501d4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded ticker v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c33366df3811615c00a6201dc5bdfdc505e944e920db514298af4f289ec4d67 [INFO] running `Command { std: "docker" "start" "-a" "0c33366df3811615c00a6201dc5bdfdc505e944e920db514298af4f289ec4d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c33366df3811615c00a6201dc5bdfdc505e944e920db514298af4f289ec4d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c33366df3811615c00a6201dc5bdfdc505e944e920db514298af4f289ec4d67", kill_on_drop: false }` [INFO] [stdout] 0c33366df3811615c00a6201dc5bdfdc505e944e920db514298af4f289ec4d67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6437f58940bbddf2bd82d0302bb641134fdea127ac505d1867e3f4947c99296f [INFO] running `Command { std: "docker" "start" "-a" "6437f58940bbddf2bd82d0302bb641134fdea127ac505d1867e3f4947c99296f", 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 num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling c2-chacha v0.2.3 [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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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" "6437f58940bbddf2bd82d0302bb641134fdea127ac505d1867e3f4947c99296f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6437f58940bbddf2bd82d0302bb641134fdea127ac505d1867e3f4947c99296f", kill_on_drop: false }` [INFO] [stdout] 6437f58940bbddf2bd82d0302bb641134fdea127ac505d1867e3f4947c99296f