Skip to content

make install runs into unknown feature 'proc_macro_span_shrink' #247

@lycheeje11y

Description

@lycheeje11y

Editor/Client you used

Neovim

Installation and Dependences checklist

  • xbase is installed and ~/.local/share/xbase has required binaries
  • All listed editor/client dependences is installed

Description

No matching processes belonging to you were found
   Compiling proc-macro2 v1.0.56
   Compiling quote v1.0.26
   Compiling unicode-ident v1.0.1
   Compiling syn v1.0.104
   Compiling memchr v2.5.0
   Compiling libc v0.2.126
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling serde_derive v1.0.162
   Compiling serde v1.0.162
   Compiling pin-project-lite v0.2.9
   Compiling log v0.4.17
   Compiling once_cell v1.13.0
   Compiling futures-core v0.3.28
   Compiling smallvec v1.8.1
   Compiling itoa v1.0.2
   Compiling serde_json v1.0.96
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /Users/lycheejelly/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.56/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

   Compiling ryu v1.0.10
   Compiling lock_api v0.4.7
   Compiling parking_lot_core v0.9.3
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
make: *** [install] Error 101

This is the error I get when running `make install`. From this github issue: https://github.com/rust-lang/rust/issues/113170, it seems like it isn't any problem having to do with the xbase crate itself, rather a faulty dependency. I'm assuming that one of xbase's dependencies hasn't updated its dependencies that patches this bug. I'm not sure which one it is, but I ran into the error when trying to install xbase, which is why I'm posting it here.

Expected behavior

`make install` to run correctly, and expected binaries to be installed.

Reproduce

This is my lazy config:

return {
	"kkharji/xbase",
	build = "make install",
	config = function()
		require("xbase").setup({
			mappings = {
				--- Whether xbase mapping should be disabled.
				enable = true,
				--- Open build picker. showing targets and configuration.
				build_picker = "<leader>b", --- set to 0 to disable
				--- Open run picker. showing targets, devices and configuration
				run_picker = "<leader>r", --- set to 0 to disable
				--- Open watch picker. showing run or build, targets, devices and configuration
				watch_picker = "<leader>s", --- set to 0 to disable
				--- A list of all the previous pickers
				all_picker = "<leader>ef", --- set to 0 to disable
				--- horizontal toggle log buffer
				toggle_split_log_buffer = "<leader>ls",
				--- vertical toggle log buffer
				toggle_vsplit_log_buffer = "<leader>lv",
			},
		})
	end,
}

Actual behavior

The error message is in the description.

Operating system and version

macos 15.5

xbase version / branch / rev

xbase 0.30

Neovim version

NVIM v0.11.1

Vscode version (if the editor you used is vscode)

No response

Installed XCode Developer Tools

Developer:

    Developer Tools:

      Version: 16.3 (16E140)
      Location: /Applications/Xcode.app
      Applications:
          Xcode: 16.3 (23785)
          Instruments: 16.3 (64570.99)
      SDKs:
          DriverKit:
              24.4:
          iOS:
              18.4: (22E235)
          iOS Simulator:
              18.4: (22E235)
          macOS:
              15.4: (24E241)
          tvOS:
              18.4: (22L251)
          tvOS Simulator:
              18.4: (22L251)
          visionOS:
              2.4: (22O233)
          visionOS Simulator:
              2.4: (22O233)
          watchOS:
              11.4: (22T246)
          watchOS Simulator:
              11.4: (22T246)

XBase Logs

This has to do with a failed installation, it does not exist yet.

XBase Build Server Logs

^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions