[INFO] fetching crate function_name 0.2.0... [INFO] checking function_name-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate function_name 0.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate function_name 0.2.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate function_name 0.2.0 [INFO] finished tweaking crates.io crate function_name 0.2.0 [INFO] tweaked toml for crates.io crate function_name 0.2.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 785db484efbb66ebce89d5f5d51bc45242c54c8b06a90546ceb5e8d571fe8705 [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" "785db484efbb66ebce89d5f5d51bc45242c54c8b06a90546ceb5e8d571fe8705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785db484efbb66ebce89d5f5d51bc45242c54c8b06a90546ceb5e8d571fe8705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785db484efbb66ebce89d5f5d51bc45242c54c8b06a90546ceb5e8d571fe8705", kill_on_drop: false }` [INFO] [stdout] 785db484efbb66ebce89d5f5d51bc45242c54c8b06a90546ceb5e8d571fe8705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e6ac5fc50aed856c416fe75922458165b0a75c01be73acff7fa21198c297e0b [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" "1e6ac5fc50aed856c416fe75922458165b0a75c01be73acff7fa21198c297e0b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling function_name-proc-macro v0.2.0 [INFO] [stderr] Checking function_name v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/readme-basic.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/readme-function_path.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/double_use.rs from 2018 edition to 2021 [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/readme-basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[named] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Cargo.toml must have a function_name dependency: "Could not find `function_name` in `dependencies` or `dev-dependencies` in `/tmp/fixit/Cargo.toml`!" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `my_super_duper_function` in this scope [INFO] [stdout] --> examples/readme-basic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | my_super_duper_function(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `function_name` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/readme-function_path.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[named] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Cargo.toml must have a function_name dependency: "Could not find `function_name` in `dependencies` or `dev-dependencies` in `/tmp/fixit/Cargo.toml`!" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `baz` in module `foo::bar` [INFO] [stdout] --> examples/readme-function_path.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | foo::bar::baz(); [INFO] [stdout] | ^^^ not found in `foo::bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> examples/readme-function_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! function_path {() => (concat!( [INFO] [stdout] 4 | | module_path!(), "::", function_name!() [INFO] [stdout] 5 | | ))} [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/double_use.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[named] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Cargo.toml must have a function_name dependency: "Could not find `function_name` in `dependencies` or `dev-dependencies` in `/tmp/fixit/Cargo.toml`!" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/double_use.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[named] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Cargo.toml must have a function_name dependency: "Could not find `function_name` in `dependencies` or `dev-dependencies` in `/tmp/fixit/Cargo.toml`!" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `foo` in this scope [INFO] [stdout] --> tests/double_use.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | foo(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bar` in this scope [INFO] [stdout] --> tests/double_use.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | bar(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1e6ac5fc50aed856c416fe75922458165b0a75c01be73acff7fa21198c297e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e6ac5fc50aed856c416fe75922458165b0a75c01be73acff7fa21198c297e0b", kill_on_drop: false }` [INFO] [stdout] 1e6ac5fc50aed856c416fe75922458165b0a75c01be73acff7fa21198c297e0b