[INFO] fetching crate editor-server 0.0.1... [INFO] testing editor-server-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate editor-server 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate editor-server 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-1/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded sha-1 v0.9.4 [INFO] [stderr] Downloaded tungstenite v0.12.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.6 [INFO] [stderr] Downloaded futures v0.3.13 [INFO] [stderr] Downloaded pin-project v1.0.6 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded hyper v0.14.5 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded tokio-tungstenite v0.13.0 [INFO] [stderr] Downloaded warp v0.3.1 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded h2 v0.3.2 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] [stderr] Downloaded tokio v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1ed078bc2f4bb2f965df5cb4a69d053ef00af8c6f5614605cf5f2f2a137a284 [INFO] running `Command { std: "docker" "start" "-a" "d1ed078bc2f4bb2f965df5cb4a69d053ef00af8c6f5614605cf5f2f2a137a284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1ed078bc2f4bb2f965df5cb4a69d053ef00af8c6f5614605cf5f2f2a137a284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ed078bc2f4bb2f965df5cb4a69d053ef00af8c6f5614605cf5f2f2a137a284", kill_on_drop: false }` [INFO] [stdout] d1ed078bc2f4bb2f965df5cb4a69d053ef00af8c6f5614605cf5f2f2a137a284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 692c045832641e8bea02c8d8e7614b9efa94ec103f4bc300637911a5c40ccb6e [INFO] running `Command { std: "docker" "start" "-a" "692c045832641e8bea02c8d8e7614b9efa94ec103f4bc300637911a5c40ccb6e", 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] Compiling libc v0.2.92 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling 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] 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] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #![feature(with_options)] [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 `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | locked_file.read_to_string(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | file_data.read_to_string(&mut contents_data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_len` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | file_data.set_len(0).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | file_data.write_all(content_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sync_data` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | file_data.sync_data().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sync_all` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | file_data.sync_all().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_len` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | file_data.set_len(0).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | file_data.write_all(content_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sync_data` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | file_data.sync_data().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sync_all` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | file_data.sync_all().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [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] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `editor-server` due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "692c045832641e8bea02c8d8e7614b9efa94ec103f4bc300637911a5c40ccb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692c045832641e8bea02c8d8e7614b9efa94ec103f4bc300637911a5c40ccb6e", kill_on_drop: false }` [INFO] [stdout] 692c045832641e8bea02c8d8e7614b9efa94ec103f4bc300637911a5c40ccb6e