[INFO] fetching crate mod_language 0.1.22... [INFO] checking mod_language-0.1.22 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate mod_language 0.1.22 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate mod_language 0.1.22 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mod_language 0.1.22 [INFO] finished tweaking crates.io crate mod_language 0.1.22 [INFO] tweaked toml for crates.io crate mod_language 0.1.22 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate mod_language 0.1.22 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9f687c1395847557ecb75121ae088d6732a23db071a3513cca1b7e4071bfa3ff [INFO] running `Command { std: "docker" "start" "-a" "9f687c1395847557ecb75121ae088d6732a23db071a3513cca1b7e4071bfa3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f687c1395847557ecb75121ae088d6732a23db071a3513cca1b7e4071bfa3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f687c1395847557ecb75121ae088d6732a23db071a3513cca1b7e4071bfa3ff", kill_on_drop: false }` [INFO] [stdout] 9f687c1395847557ecb75121ae088d6732a23db071a3513cca1b7e4071bfa3ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8411f59781c2fe6536bde70e004fae239f6626de5047dd152ef66ae46c3ec2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8411f59781c2fe6536bde70e004fae239f6626de5047dd152ef66ae46c3ec2b", kill_on_drop: false }` [INFO] [stderr] Checking mod_utilities v0.1.2 [INFO] [stderr] Checking mod_language v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/ctx.rs:173:39 [INFO] [stdout] | [INFO] [stdout] 173 | *self.entries.get(ident.as_ref()).unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/analyzer/mod.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { self.active_modules.pop().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/analyzer/mod.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { *self.active_modules.last().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib/analyzer/mod.rs:94:57 [INFO] [stdout] | [INFO] [stdout] 94 | self.local_context.replace(LocalContext::default()).expect_none("Internal error, cannot create LocalContext, one already exists"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/analyzer/mod.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { self.local_context.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/ctx.rs:173:39 [INFO] [stdout] | [INFO] [stdout] 173 | *self.entries.get(ident.as_ref()).unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib/analyzer/passes/generate_bodies.rs:78:48 [INFO] [stdout] | [INFO] [stdout] 78 | .initializer.replace(initializer_ir).expect_none("Internal error, global initializer IR replaced"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib/analyzer/passes/generate_bodies.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | .body.replace(some!(body_ir)).expect_none("Internal error, function body IR replaced"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mod_language` due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/analyzer/mod.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { self.active_modules.pop().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/analyzer/mod.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { *self.active_modules.last().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib/analyzer/mod.rs:94:57 [INFO] [stdout] | [INFO] [stdout] 94 | self.local_context.replace(LocalContext::default()).expect_none("Internal error, cannot create LocalContext, one already exists"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib/analyzer/mod.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { self.local_context.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib/analyzer/passes/generate_bodies.rs:78:48 [INFO] [stdout] | [INFO] [stdout] 78 | .initializer.replace(initializer_ir).expect_none("Internal error, global initializer IR replaced"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib/analyzer/passes/generate_bodies.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | .body.replace(some!(body_ir)).expect_none("Internal error, function body IR replaced"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f8411f59781c2fe6536bde70e004fae239f6626de5047dd152ef66ae46c3ec2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8411f59781c2fe6536bde70e004fae239f6626de5047dd152ef66ae46c3ec2b", kill_on_drop: false }` [INFO] [stdout] f8411f59781c2fe6536bde70e004fae239f6626de5047dd152ef66ae46c3ec2b