[INFO] fetching crate editor-server 0.0.1... [INFO] testing editor-server-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate editor-server 0.0.1 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate editor-server 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.6 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded futures-task v0.3.13 [INFO] [stderr] Downloaded heck v0.3.2 [INFO] [stderr] Downloaded socket2 v0.4.0 [INFO] [stderr] Downloaded tokio v1.4.0 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded mio v0.7.11 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded hyper v0.14.5 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded regex v1.4.5 [INFO] [stderr] Downloaded h2 v0.3.2 [INFO] [stderr] Downloaded futures-util v0.3.13 [INFO] [stderr] Downloaded idna v0.2.2 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] [stderr] Downloaded unicode-segmentation v1.7.1 [INFO] [stderr] Downloaded regex-syntax v0.6.23 [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded mime v0.3.16 [INFO] [stderr] Downloaded mime_guess v2.0.3 [INFO] [stderr] Downloaded multipart v0.17.1 [INFO] [stderr] Downloaded serde_urlencoded v0.7.0 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded once_cell v1.7.2 [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded tracing v0.1.25 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.2 [INFO] [stderr] Downloaded os_str_bytes v2.4.0 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded futures-io v0.3.13 [INFO] [stderr] Downloaded futures v0.3.13 [INFO] [stderr] Downloaded futures-channel v0.3.13 [INFO] [stderr] Downloaded indexmap v1.6.2 [INFO] [stderr] Downloaded http-body v0.4.1 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded parking_lot_core v0.8.3 [INFO] [stderr] Downloaded parking_lot v0.11.1 [INFO] [stderr] Downloaded signal-hook-registry v1.3.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.6 [INFO] [stderr] Downloaded pin-project v1.0.6 [INFO] [stderr] Downloaded sha-1 v0.9.4 [INFO] [stderr] Downloaded url v2.2.1 [INFO] [stderr] Downloaded futures-core v0.3.13 [INFO] [stderr] Downloaded futures-sink v0.3.13 [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded instant v0.1.9 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded tracing-core v0.1.17 [INFO] [stderr] Downloaded warp v0.3.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c61eab19c937128f3630be8526e4e4c71ce18a6fe87669544e03177a8bdae1d2 [INFO] running `Command { std: "docker" "start" "-a" "c61eab19c937128f3630be8526e4e4c71ce18a6fe87669544e03177a8bdae1d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c61eab19c937128f3630be8526e4e4c71ce18a6fe87669544e03177a8bdae1d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61eab19c937128f3630be8526e4e4c71ce18a6fe87669544e03177a8bdae1d2", kill_on_drop: false }` [INFO] [stdout] c61eab19c937128f3630be8526e4e4c71ce18a6fe87669544e03177a8bdae1d2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fda3a38eb562530bfa9e7262f9d542df4608a6efc51bc2789356134e5022f11 [INFO] running `Command { std: "docker" "start" "-a" "2fda3a38eb562530bfa9e7262f9d542df4608a6efc51bc2789356134e5022f11", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling regex v1.4.5 [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] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling 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] 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 `std::fs::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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/fs.rs:452:5 [INFO] [stdout] help: there is an associated function `options` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 - File::with_options().append(true).truncate(false).write(true).read(true).open(file_path)? [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] 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; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2fda3a38eb562530bfa9e7262f9d542df4608a6efc51bc2789356134e5022f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fda3a38eb562530bfa9e7262f9d542df4608a6efc51bc2789356134e5022f11", kill_on_drop: false }` [INFO] [stdout] 2fda3a38eb562530bfa9e7262f9d542df4608a6efc51bc2789356134e5022f11