[Error] Rust tvm-rt error

I’ve followed the installation direction but I must be missing something, I’ve encapsulated my steps in the dockerfile below:

Dockerfile ARG VARIANT=ubuntu-22.04 FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}

ENV DEBIAN_FRONTEND=noninteractive

Install common packages

RUN apt-get update
&& apt-get -y install build-essential cppcheck valgrind clang lldb llvm gdb
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

Install additional OS packages.

RUN apt-get update
&& apt-get -y install --no-install-recommends
python3-dev
python3
ca-certificates
python3-numpy
python3-setuptools
python3-wheel
python3-pip
g++
gcc
ninja-build
tree
libpng-dev
libjpeg-turbo8-dev
libtinfo-dev
libedit-dev \ libxml2-dev
zlib1g-dev \ && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

Install newer CMake version

ARG CMAKE_VER=‘3.26.0-rc3’ RUN apt-get update
&& apt-get install -y --no-install-recommends aria2 aria2 && aria2c -q -d /tmp -o cmake-$CMAKE_VER-linux-x86_64.tar.gz https://github.com/Kitware/CMake/releases/download/v$CMAKE_VER/cmake-$CMAKE_VER-linux-x86_64.tar.gz && tar -zxf /tmp/cmake-$CMAKE_VER-linux-x86_64.tar.gz --strip=1 -C /usr
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

TVM RUNTIME BUILD

ENV TVM_HOME=/tvm/ ENV LD_LIBRARY_PATH=$TVM_HOME/build/

RUN git clone --recursive https://github.com/apache/tvm tvm
&& cd tvm
&& mkdir build \ && cp cmake/config.cmake build \ && cd build
&& cmake …
&& make runtime
&& ln -s /tvm/build/libtvm_runtime.so /usr/bin/libtvm_runtime.so

Cargo File

[dependencies] tvm-rt = { git = “https://github.com/apache/tvm.git”, branch = “main”}

Error Message

cargo check Updating git repository https://github.com/apache/tvm.git Updating crates.io index error: failed to select a version for once_cell. … required by package heim-runtime v0.1.0-rc.1 … which satisfies dependency heim-runtime = "^0.1.0-rc.1" of package heim v0.1.0-rc.1 … which satisfies dependency heim = "^0.1.0-rc.1" of package tvm-build v0.2.4 … which satisfies dependency tvm-build = "^0.2.4" of package tvm-sys v0.1.1-alpha (https://github.com/apache/tvm.git#a3b51f11) … which satisfies git dependency tvm-sys of package tvm-rt v0.1.0-alpha (https://github.com/apache/tvm.git#a3b51f11) … which satisfies git dependency tvm-rt of package tvm v0.1.0 (/workspaces/analytic-plugins/tvm) versions that meet the requirements ~1.5 are: 1.5.2, 1.5.1

all possible versions conflict with previously selected packages.

previously selected package once_cell v1.17.1 … which satisfies dependency once_cell = "^1.13.0" (locked to 1.17.1) of package tracing-core v0.1.30 … which satisfies dependency tracing-core = "^0.1.30" (locked to 0.1.30) of package tracing v0.1.37 … which satisfies dependency tracing = "^0.1" (locked to 0.1.37) of package tvm-build v0.2.4 … which satisfies dependency tvm-build = "^0.2.4" of package tvm-sys v0.1.1-alpha (https://github.com/apache/tvm.git#a3b51f11) … which satisfies git dependency tvm-sys of package tvm-rt v0.1.0-alpha (https://github.com/apache/tvm.git#a3b51f11) … which satisfies git dependency tvm-rt of package tvm v0.1.0 (/workspaces/analytic-plugins/tvm)

failed to select a version for once_cell which could resolve this conflict