[INFO] fetching crate g1 0.1.0-alpha.3... [INFO] testing g1-0.1.0-alpha.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate g1 0.1.0-alpha.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate g1 0.1.0-alpha.3 [INFO] finished tweaking crates.io crate g1 0.1.0-alpha.3 [INFO] tweaked toml for crates.io crate g1 0.1.0-alpha.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate g1 0.1.0-alpha.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate g1 0.1.0-alpha.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56a8c1a6e0e86ec1ce91825a83ba4a2376462741d6000d1b7652b1dd5a86557a [INFO] running `Command { std: "docker" "start" "-a" "56a8c1a6e0e86ec1ce91825a83ba4a2376462741d6000d1b7652b1dd5a86557a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56a8c1a6e0e86ec1ce91825a83ba4a2376462741d6000d1b7652b1dd5a86557a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a8c1a6e0e86ec1ce91825a83ba4a2376462741d6000d1b7652b1dd5a86557a", kill_on_drop: false }` [INFO] [stdout] 56a8c1a6e0e86ec1ce91825a83ba4a2376462741d6000d1b7652b1dd5a86557a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab2a369d2ce240aae76057c8db807a4a6cb9ccf1bb618731981562a839b48c53 [INFO] running `Command { std: "docker" "start" "-a" "ab2a369d2ce240aae76057c8db807a4a6cb9ccf1bb618731981562a839b48c53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling bytes v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling topological-sort v0.1.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling logos-derive v0.9.7 [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/util.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | self.callback.insert(callback, |_| panic!("Only one callback can be defined per variant definition!")); [INFO] [stdout] | ^^^^^^ ---------------------------------------------------------------------- unexpected argument #2 of type `{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/util.rs:59:48: 59:51}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:1713:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 59 - self.callback.insert(callback, |_| panic!("Only one callback can be defined per variant definition!")); [INFO] [stdout] 59 + self.callback.insert(callback); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | extras.insert(ext, |_| panic!("Only one #[extras] attribute can be declared.")); [INFO] [stdout] | ^^^^^^ ----------------------------------------------------------- unexpected argument #2 of type `{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/lib.rs:50:32: 50:35}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:1713:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 50 - extras.insert(ext, |_| panic!("Only one #[extras] attribute can be declared.")); [INFO] [stdout] 50 + extras.insert(ext); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | error.insert(variant, |_| panic!("Only one #[error] variant can be declared.")); [INFO] [stdout] | ^^^^^^ -------------------------------------------------------- unexpected argument #2 of type `{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/lib.rs:84:39: 84:42}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:1713:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 84 - error.insert(variant, |_| panic!("Only one #[error] variant can be declared.")); [INFO] [stdout] 84 + error.insert(variant); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/lib.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | end.insert(variant, |_| panic!("Only one #[end] variant can be declared.")); [INFO] [stdout] | ^^^^^^ ------------------------------------------------------ unexpected argument #2 of type `{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/logos-derive-0.9.7/src/lib.rs:88:37: 88:40}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:1713:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 88 - end.insert(variant, |_| panic!("Only one #[end] variant can be declared.")); [INFO] [stdout] 88 + end.insert(variant); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.21 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logos-derive` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ab2a369d2ce240aae76057c8db807a4a6cb9ccf1bb618731981562a839b48c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2a369d2ce240aae76057c8db807a4a6cb9ccf1bb618731981562a839b48c53", kill_on_drop: false }` [INFO] [stdout] ab2a369d2ce240aae76057c8db807a4a6cb9ccf1bb618731981562a839b48c53