Configure jenkins with CARGO_HOME in a writeable directory
Or develop a workaround in the tor build scripts.