[INFO] cloning repository https://github.com/rehwinkel/OliveScript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rehwinkel/OliveScript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35bb7019931b34398c48b76b22dfd7fa6d616539 [INFO] checking rehwinkel/OliveScript against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rehwinkel/OliveScript [INFO] finished tweaking git repo https://github.com/rehwinkel/OliveScript [INFO] tweaked toml for git repo https://github.com/rehwinkel/OliveScript written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rehwinkel/OliveScript on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rehwinkel/OliveScript 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded lalrpop-util v0.19.0 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded string_cache v0.8.0 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded sha2 v0.8.1 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded indexmap v1.3.2 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded mistake v0.1.1 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded petgraph v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4c57c6d142bbbb38bfb41c1bb7b77f97077a5536b24c345e03b562b50f7124f [INFO] running `Command { std: "docker" "start" "-a" "a4c57c6d142bbbb38bfb41c1bb7b77f97077a5536b24c345e03b562b50f7124f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c57c6d142bbbb38bfb41c1bb7b77f97077a5536b24c345e03b562b50f7124f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c57c6d142bbbb38bfb41c1bb7b77f97077a5536b24c345e03b562b50f7124f", kill_on_drop: false }` [INFO] [stdout] a4c57c6d142bbbb38bfb41c1bb7b77f97077a5536b24c345e03b562b50f7124f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef313c98c6cd148c9cc7f435cdd4bbbe0917829e5a918e5d54577f23fd2c6cd0 [INFO] running `Command { std: "docker" "start" "-a" "ef313c98c6cd148c9cc7f435cdd4bbbe0917829e5a918e5d54577f23fd2c6cd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking mistake v0.1.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking lalrpop-util v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling oliveparser v0.1.0 (/opt/rustwide/workdir/oliveparser) [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> oliveparser/src/lib.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 12 | source: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 13 | ) -> Result< [INFO] [stdout] 14 | Vec>>, [INFO] [stdout] | -- the same lifetime is named here [INFO] [stdout] 15 | lalrpop_util::ParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | lalrpop_util::ParseError, &'a str>, [INFO] [stdout] | ++++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> oliveparser/src/lib.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 12 | source: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 13 | ) -> Result< [INFO] [stdout] 14 | Vec>>, [INFO] [stdout] | -- the same lifetime is named here [INFO] [stdout] 15 | lalrpop_util::ParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | lalrpop_util::ParseError, &'a str>, [INFO] [stdout] | ++++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking olivescript v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/interpreter/object.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | } => a1 == a2 && c1 == c2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 153 - } => a1 == a2 && c1 == c2, [INFO] [stdout] 153 + } => a1 == a2 && std::ptr::fn_addr_eq(*c1, *c2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/interpreter/object.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | } => a1 == a2 && c1 == c2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 153 - } => a1 == a2 && c1 == c2, [INFO] [stdout] 153 + } => a1 == a2 && std::ptr::fn_addr_eq(*c1, *c2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ef313c98c6cd148c9cc7f435cdd4bbbe0917829e5a918e5d54577f23fd2c6cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef313c98c6cd148c9cc7f435cdd4bbbe0917829e5a918e5d54577f23fd2c6cd0", kill_on_drop: false }` [INFO] [stdout] ef313c98c6cd148c9cc7f435cdd4bbbe0917829e5a918e5d54577f23fd2c6cd0