[INFO] fetching crate editor-server 0.0.1... [INFO] checking editor-server-0.0.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate editor-server 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate editor-server 0.0.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-2-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-core v0.3.13 [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded tokio-tungstenite v0.13.0 [INFO] [stderr] Downloaded futures-sink v0.3.13 [INFO] [stderr] Downloaded tokio-macros v1.1.0 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded futures-task v0.3.13 [INFO] [stderr] Downloaded httparse v1.3.5 [INFO] [stderr] Downloaded futures-io v0.3.13 [INFO] [stderr] Downloaded warp v0.3.1 [INFO] [stderr] Downloaded futures-channel v0.3.13 [INFO] [stderr] Downloaded futures v0.3.13 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded multipart v0.17.1 [INFO] [stderr] Downloaded tungstenite v0.12.0 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded futures-util v0.3.13 [INFO] [stderr] Downloaded sha-1 v0.9.4 [INFO] [stderr] Downloaded tinyvec v1.1.1 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3017d256be3af8f17c16cadf350fd1462f6fadf327df6efb7e50ee0e4cff6cb7 [INFO] running `Command { std: "docker" "start" "-a" "3017d256be3af8f17c16cadf350fd1462f6fadf327df6efb7e50ee0e4cff6cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3017d256be3af8f17c16cadf350fd1462f6fadf327df6efb7e50ee0e4cff6cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3017d256be3af8f17c16cadf350fd1462f6fadf327df6efb7e50ee0e4cff6cb7", kill_on_drop: false }` [INFO] [stdout] 3017d256be3af8f17c16cadf350fd1462f6fadf327df6efb7e50ee0e4cff6cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bc23ed347666b06b642b19e0455801168c65bf5bf91e195e673ed425dd12285 [INFO] running `Command { std: "docker" "start" "-a" "1bc23ed347666b06b642b19e0455801168c65bf5bf91e195e673ed425dd12285", 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 syn v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bytes 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] Compiling generic-array v0.14.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking matches v0.1.8 [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 rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures-io v0.3.13 [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 httpdate v0.3.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking regex v1.4.5 [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] 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/fs.rs:382: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/fs.rs:382: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] 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] 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 2 previous errors [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 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1bc23ed347666b06b642b19e0455801168c65bf5bf91e195e673ed425dd12285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc23ed347666b06b642b19e0455801168c65bf5bf91e195e673ed425dd12285", kill_on_drop: false }` [INFO] [stdout] 1bc23ed347666b06b642b19e0455801168c65bf5bf91e195e673ed425dd12285