[INFO] fetching crate editor-server 0.0.1... [INFO] checking editor-server-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate editor-server 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate editor-server 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate editor-server 0.0.1 [INFO] finished tweaking crates.io crate editor-server 0.0.1 [INFO] tweaked toml for crates.io crate editor-server 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate editor-server 0.0.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.13.0 [INFO] [stderr] Downloaded multipart v0.17.1 [INFO] [stderr] Downloaded tungstenite v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56bc921218a7ce7739faa99cb87ed684a9d4a11cfc9698385bf0fb7311235915 [INFO] running `Command { std: "docker" "start" "-a" "56bc921218a7ce7739faa99cb87ed684a9d4a11cfc9698385bf0fb7311235915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56bc921218a7ce7739faa99cb87ed684a9d4a11cfc9698385bf0fb7311235915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bc921218a7ce7739faa99cb87ed684a9d4a11cfc9698385bf0fb7311235915", kill_on_drop: false }` [INFO] [stdout] 56bc921218a7ce7739faa99cb87ed684a9d4a11cfc9698385bf0fb7311235915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0c082a556e26a82a24bad2171e4c87ec7bc1834ee75b60a8e7e6d41147de30 [INFO] running `Command { std: "docker" "start" "-a" "fd0c082a556e26a82a24bad2171e4c87ec7bc1834ee75b60a8e7e6d41147de30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking editor-server v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `with_options` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | #![feature(with_options)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `with_options` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | #![feature(with_options)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_options` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/main.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | File::with_options().append(true).truncate(false).write(true).read(true).open(file_path)? [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `File` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::fs::File` consider using one of the following associated functions: [INFO] [stdout] std::fs::File::open [INFO] [stdout] std::fs::File::create [INFO] [stdout] std::fs::File::create_new [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/fs.rs:374:5 [INFO] [stdout] help: there is an associated function `options` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | File::options().append(true).truncate(false).write(true).read(true).open(file_path)? [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_options` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/main.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | File::with_options().append(true).truncate(false).write(true).read(true).open(file_path)? [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `File` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::fs::File` consider using one of the following associated functions: [INFO] [stdout] std::fs::File::open [INFO] [stdout] std::fs::File::create [INFO] [stdout] std::fs::File::create_new [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/fs.rs:374:5 [INFO] [stdout] help: there is an associated function `options` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | File::options().append(true).truncate(false).write(true).read(true).open(file_path)? [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let file = Arc::clone(&file_arc); [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | let mut locked_file = file.lock().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 75 | let file: Arc = Arc::clone(&file_arc); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let file = Arc::clone(&file_arc); [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | let mut locked_file = file.lock().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 75 | let file: Arc = Arc::clone(&file_arc); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `editor-server` (bin "editor-server") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `editor-server` (bin "editor-server" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd0c082a556e26a82a24bad2171e4c87ec7bc1834ee75b60a8e7e6d41147de30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0c082a556e26a82a24bad2171e4c87ec7bc1834ee75b60a8e7e6d41147de30", kill_on_drop: false }` [INFO] [stdout] fd0c082a556e26a82a24bad2171e4c87ec7bc1834ee75b60a8e7e6d41147de30