[INFO] fetching crate mod_language 0.1.22... [INFO] checking mod_language-0.1.22 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate mod_language 0.1.22 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mod_language 0.1.22 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mod_utilities v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dde267bc3916afe5e34004d801c9835b20e8713a2252857967938ffb6170ed8 [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" "5dde267bc3916afe5e34004d801c9835b20e8713a2252857967938ffb6170ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dde267bc3916afe5e34004d801c9835b20e8713a2252857967938ffb6170ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dde267bc3916afe5e34004d801c9835b20e8713a2252857967938ffb6170ed8", kill_on_drop: false }` [INFO] [stdout] 5dde267bc3916afe5e34004d801c9835b20e8713a2252857967938ffb6170ed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d6e22f59ad5420cef88660bf0bdb8a4bd8d730e0b696ec9235049e3893e415 [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" "07d6e22f59ad5420cef88660bf0bdb8a4bd8d730e0b696ec9235049e3893e415", 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] 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/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/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/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[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: 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] 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" "07d6e22f59ad5420cef88660bf0bdb8a4bd8d730e0b696ec9235049e3893e415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d6e22f59ad5420cef88660bf0bdb8a4bd8d730e0b696ec9235049e3893e415", kill_on_drop: false }` [INFO] [stdout] 07d6e22f59ad5420cef88660bf0bdb8a4bd8d730e0b696ec9235049e3893e415